You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do you connect to mysql ? you haven't set an ip address nor a port forwarding like apache.
Can I overwrite settings in my Vagrantfile ?
I tried to do config.vm.network :hostonly, "33.33.33.10" or config.vm.forward_port 3306, 3333
but it doesn't seem to work
The text was updated successfully, but these errors were encountered:
Ok my bad, config.vm.network :hostonly, "33.33.33.10" works, but still can't connect to mysql, which leads me to think that mysqld is only listening to localhost. How can we change that ?
I connected to MySQL using SSH tunneling instead of port forwarding, but I still needed to change my.conf to allow connections from localhost instead of the NAT IP address. YMMV, of course.
How do you connect to mysql ? you haven't set an ip address nor a port forwarding like apache.
Can I overwrite settings in my Vagrantfile ?
I tried to do config.vm.network :hostonly, "33.33.33.10" or config.vm.forward_port 3306, 3333
but it doesn't seem to work
The text was updated successfully, but these errors were encountered: