- 论坛徽章:
- 0
|
本帖最后由 liuris 于 2011-06-22 16:30 编辑
系统centos 5.3 ,数据库mysql 4.0
1.安装后进入系统提示 ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
2.然后重启服务器还是服务启动 于是手动启动 service mysql restart 提示:No mysqld pid file found. Looked for
/var/lib/mysql/MasServer.pid.
3,于是卸载mysql4.0 卸载又提示:[root@MasServer local]# rpm -e MySQL-*
error: package MySQL-client-4.0.20-0.i386.rpm is not installed
error: package MySQL-server-4.0.20-0.i386.rpm is not installed
4.于是尝试安装覆盖提示:[root@MasServer local]# rpm -ivh MySQL-server-4.0.20-0.i386.rpm
Preparing... ########################################### [100%]
package MySQL-server-4.0.20-0.i386 is already installed
5,于是又卸载3, 卸载又提示:[root@MasServer local]# rpm -e MySQL-*
error: package MySQL-client-4.0.20-0.i386.rpm is not installed
error: package MySQL-server-4.0.20-0.i386.rpm is not installed |
|