ubuntu14.10下启动mysql服务时出现“* Couldn't find MySQL server (/usr/bin/mysqld_safe)”

1. 问题描述
ubuntu14.10下启动mysql服务时出现“* Couldn't find MySQL server (/usr/bin/mysqld_safe)”
2. 解决方法:
 
  
sudo rm /etc/mysql/my.cnf
 
  
 
  
 
  
 
  
 
  
再次启动mysql服务即可。
 
  
xx@ubuntu:/etc/mysql$ cd /usr/local/mysql/
xx@ubuntu:/usr/local/mysql$ sudo ./support-files/mysql.server start
[sudo] password for xx: 
Starting MySQL
....... * 
xx@ubuntu:/usr/local/mysql$ 
 
  
OK, Enjoy it!!!
 
  
 
  
 
  
 
 

你可能感兴趣的:(Linux,数据库)