当前位置: 技术问答>linux和unix
初学,关于linux下使用mysql以及卸载的问题
来源: 互联网 发布时间:2016-12-23
本文导语: 1./etc/inin.d/mysql start命令: 出现:Starting MySQL..The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid). 2.[root@localhost /]# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql...
1./etc/inin.d/mysql start命令:
出现:Starting MySQL..The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid).
2.[root@localhost /]# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
3.[root@localhost /]# rpm -evh MySQL-server-5.5.15-1.linux2.6
rpm: --hash (-h) may only be specified during package installation
通过rpm文件安装,但卸载时出现上面提示,不知何意~~~~
问题可能有点白,但是还是拜托各位大牛拉!~~~
出现:Starting MySQL..The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid).
2.[root@localhost /]# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
3.[root@localhost /]# rpm -evh MySQL-server-5.5.15-1.linux2.6
rpm: --hash (-h) may only be specified during package installation
通过rpm文件安装,但卸载时出现上面提示,不知何意~~~~
问题可能有点白,但是还是拜托各位大牛拉!~~~
|
友情帮顶
|
反正我就是rpm装的,相应的lib和.h也装了,还自己做了个link才可以用mysql api。