itnetcn@ubuntu:~$ sudo /etc/init.d/mysqld start #启用mysqld服务出错
Starting MySQL
* Couldn't find MySQL manager (/usr/bin/mysqlmanager) or server (/usr/bin/mysqld_safe)
itnetcn@ubuntu:~$ ll /etc/mysql/ #有个mysql目录,我的mysql是源码编译安装的不在这个路径下
itnetcn@ubuntu:~$ sudo mv /etc/mysql/ /etc/mysql-backup #重命令这个目录试下
itnetcn@ubuntu:~$ sudo /etc/init.d/mysqld start #启用服务成功,问题已解决
Starting MySQL
*
(责任编辑:IT) |