/root/lnmp: line 39: /etc/init.d/mysql: No such file or directory
军哥:今天升级php到5.4.27后,重启,发现出现了错误,/root/lnmp: line 39: /etc/init.d/mysql: No such file or directory。找不到了mysql这个文件了。这个要怎么解决。 升级php不会影响mysql,可能提示的这个/etc/init.d/mysql 被删除了cp /usr/local/mysql/share/mysql/mysql.server /etc/init.d/mysql
chmod +x /etc/init.d/mysql
试试
页:
[1]