sudo apt-get install mysql-server 安装好无法使用,重启了下mysql cd /etc/init.d sudo service mysql stop sudo service mysql start