为什么我不能完全卸载mysql?看!它还在那里

Ale*_*lex 0 mysql linux unix database aptitude

root@db2:/var/log/mysql# aptitude remove mysql-server --purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done

root@db2:/var/log/mysql# mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Run Code Online (Sandbox Code Playgroud)

Jam*_*ley 8

mysql客户来自适当命名的mysql-client包,你没有清除。

编辑:另一方面,在我的系统上,运行客户端会can't connect to local MySQL server出错。

是否ps auxwww | grep [m]ysql显示任何正在运行的进程?如果是这样,/proc/$PID对这个过程有什么说明?也许您在某个时候从源代码安装了守护程序;也许卸载程序没有设法杀死正在运行的进程..