问题1:登录mysql的错误 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 解决方法: 1)默认的mysql.sock文件是在/tmp目录下。 2)我们建立一个软连接,ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock 问题2:Timeout error occurred trying to start MySQL...
今天我升级MYSQL到5.1的时候遇到的。写出来共享以下。 1、 [root@localhost mysql]# scripts/mysql_install_db Neither host 'localhost.localdomain' nor 'localhost' could be looked up with /resolveip Please configure the 'hostname' command to return a correct hostname....