用rpm方式安装了mysq 3.23
然后用/etc/rc.d/init.d/msyql start
显示:
Starting mysqld daemon with databases from /var/lib/mysql
031014 15:51:09 mysqld ended
然后就不动了,用
/usr/bin/mysql 启动时,显示:
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/mysql/libraries/auth/config.auth.lib.php:91) in /var/www/html/mysql/header.inc.php on line 23
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/mysql/libraries/auth/config.auth.lib.php:91) in /var/www/html/mysql/header.inc.php on line 24
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/mysql/libraries/auth/config.auth.lib.php:91) in /var/www/html/mysql/header.inc.php on line 25
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/mysql/libraries/auth/config.auth.lib.php:91) in /var/www/html/mysql/header.inc.php on line 26
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/mysql/libraries/auth/config.auth.lib.php:91) in /var/www/html/mysql/header.inc.php on line 27
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/mysql/libraries/auth/config.auth.lib.php:91) in /var/www/html/mysql/header.inc.php on line 29
Error
MySQL said:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)