按照上述三篇随笔中的方法安装mysql,其启动.关闭和登录方法如下. mysql启动基本原理:/etc/init.d/mysqld是一个shell启动脚本,启动后最终会调用mysql\bin\mysqld_safe脚本,最后调用mysqld服务启动mysql [root@oldboy ~]# ps -ef|grep mysqld|grep -v grep root : pts/ :: /bin/sh /application/mysql/bin/mysqld_safe --user=mysql…