w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How to connect to a MySQL server running on a Virtual Machine

You problem is that (probably) your mysql is bind to 127.0.0.1 instead of 0.0.0.0.

You should change bind in /etc/mysql/my.cnf to 0.0.0.0

bind-address = 0.0.0.0

And then restart mysql of course.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.