I stopped my server for the first time in a few months today, was setup to have Apache2, PHP5 and mySQL5 as a webserver.
When I restarted the server, all services started except mySQL. After trying a number of solutions, I tried changing the bind-address in /etc/mysql/my.cnf to the server IP address. It had previously been set at 127.0.0.1.
The mySQL server would only start when set at the external IP address rather than the localhost address 127.0.0.1.
Any ideas how to use the localhost address in /etc/mysql/my.cnf rather than the external IP address?
Bookmarks