apt-get remove --purge mysql-server mysql-client
之后,发现/etc/mysql/my.cnf 还在。手动删之。
再次apt-get install mysql-server mysql-client
则出现:
WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.
Starting MySQL database server: mysqld...failed.
Please take a look at the syslog.
就是想干净点。全都删除了啊~ 还要什么 my.cnf ?!