MySQL won't start - a couple fixes
Let's say you get this message while Linux is booting :
Starting MySQL database server mysqld [fail]
One possible cause may be a network setting in /etc/mysql/my.cnf. Look for the following :
# Instead of skip-networking the default is now to listen only on # localhost which is more compatible and is not less secure. bind-address = 127.0.0.1
Change the bind address to your static IP address if necessary.
Start MySQL with
$ sudo /etc/init.d/mysql start