[root@web01 工具]#猫/etc/redhat-release
Centos 6.7
[root@web01 工具]# uname rm
2.6.32-573.el6.x86_64 x86_64
[root@LNMP ~)# cp/应用程序/mysql/支持文件/mysql。服务器/etc/init.d/mysqld
[root@LNMP ~)# sed -我的#/usr/地方/mysql #/应用程序/mysql # g’/etc/init.d/mysqld
[root@LNMP ~ # chmod + x/etc/init.d/mysqld
[root@LNMP ~ # lsof我:3306 (root@LNMP
~)#/etc/init.d/mysqld开始
开始 MySQL . .成功!