我的安装过程:
rpm -ivh MySQL-server-4.0.24-0.i386.rpm
rpm -ivh MySQL-client-4.0.24-0.i386.rpm 然后mysql,提示:
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)/var/lib/mysql/mysql.sock文件确实存在,而且我也在/etc/my.cnf下面配置了
socket=/var/lib/mysql/mysql.sock.请问高手是怎么回事?
rpm -ivh MySQL-server-4.0.24-0.i386.rpm
rpm -ivh MySQL-client-4.0.24-0.i386.rpm 然后mysql,提示:
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)/var/lib/mysql/mysql.sock文件确实存在,而且我也在/etc/my.cnf下面配置了
socket=/var/lib/mysql/mysql.sock.请问高手是怎么回事?
日志放在什么地方?
mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4 to server version: 5.0.22-standardType 'help;' or '\h' for help. Type '\c' to clear the buffer.段错误
-------------------------------------------------------
出现:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4 to server version: 5.0.22-standardType 'help;' or '\h' for help. Type '\c' to clear the buffer.表示mysq已经运行,而且都进入mysql命令行下