ubuntu 14.04,mysql 5.6,我先用apt-get autoremove --purge mysql-server-5.5
删除旧服务器,然后使用
wget http://dev.mysql.com/get/mysql-apt-config_0.8.1-1_all.deb
dpkg -i mysql-apt-config_0.8.1-1_all.deb
apt-get update
apt-get install mysql-server --yes
所有都是默认选项。当我启动mysql服务器时,它说:
MySQL Community Server did not start. Please check logs for more details.
所以我检查' /var/log/mysql/error.log'只得到:
161214 09:08:47 mysqld_safe Logging to '/var/log/mysql/error.log'.
161214 09:08:47 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Killed
161214 09:08:49 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended