我在red hat linux8.0下安装了mysql-3.23.41-1.i386.rpm, 我启动它时提示Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' 我看了一下,在/var/lib/mysql/下面没有东西,我以前安装在linux7.2时没有出现过这种情况!请问怎么回事??? 多谢大侠相助!
编辑 /etc/hosts
将你的客户端的主机名及IP地址加进去,好用的^_^!
"
说这话的人连问题都没有看清楚!
“1,First,You must confirm that the MySql server has been started!
If no,you can run '/etc/init.d/mysqld start' to start it!
2.Can you use '/usr/sbin/mysqladmin -u root -h localhost' command to connect database?
3.Check you firewall rule.
4.If you can't resolv this problem through above method,you can try to reinstall it with '--replace-files' parameter!
”
说这些的人更本不懂mysql.sock 是什么东西!
都是白痴!