MySQL启动关闭原理

##两个启动的命令
[root@db01-51 ~]# ps -ef|grep 3306|grep -v grep
root 1517 1 0 Mar15 pts/1 00:00:00 /bin/sh /application/mysql/bin/mysqld_safe --defaults-file=/data/3306/my.cnf
mysql 2216 1517 0 Mar15 pts/1 00:00:13 /application/mysql/bin/mysqld --defaults-file=/data/3306/my.cnf \
--basedir=/application/mysql \
--datadir=/data/3306/data \
--plugin-dir=/application/mysql/lib/plugin \
--user=mysql \
--log-error=/data/3306/oldboy_3306.err \
--open-files-limit=1024 \
--pid-file=/data/3306/mysqld.pid \
--socket=/data/3306/mysql.sock \
--port=3306

  

posted @ 2017-03-16 01:33  reborn枪  阅读(195)  评论(0)    收藏  举报