在ubuntu14.04上安装msyql-server时出错,
用了下面的方法解决了问题:
$ sudo apt-get --yes autoremove --purge mysql-server-5.5 $ sudo apt-get --yes autoremove --purge mysql-client-5.5 $ sudo apt-get --yes autoremove --purge mysql-common $ sudo rm -rf /var/lib/mysql /etc/mysql ~/.mysql $ sudo deluser mysql $ sudo apt-get autoclean $ sudo apt-get update && sudo apt-get upgrade $ sudo apt-get install mysql-server-5.5 mysql-client-5.5