mysql-vagrant is a quick way to run mysql locally for development without an ssh tunnel
$ vagrant up
- host: 33.33.33.1
- username: root
- password: root
For development use only, do not use in production. Also, make sure your mysql port (3306) is not open on your computer for a local network or in general.
DO: ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root'; ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';
sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf change bind addresses to: 0.0.0.0
MIT