soseek 发表于 2015-9-15 23:28:48

mysql重启失败

lnmpa

# lnmp mariadb reload



+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|            http://lnmp.org            |
+-------------------------------------------+
* MySQL PID file could not be found!


ps aux |grep mysq*
root       8990.00.0   4440   748 ?      S    Sep13   0:00 /bin/sh /usr/local/mariadb/bin/mysqld_safe --datadir=/mnt/mysql/var --pid-file=/usr/local/mariadb/var/mariadb.pid
mariadb   10640.02.4 486820 99404 ?      Sl   Sep13   1:51 /usr/local/mariadb/bin/mysqld --basedir=/usr/local/mariadb --datadir=/mnt/mysql/var --plugin-dir=/usr/local/mariadb/lib/plugin --user=mariadb --log-error=/usr/local/mariadb/var/mariadb.err --pid-file=/usr/local/mariadb/var/mariadb.pid --socket=/tmp/mysql.sock --port=3306
root   211150.00.011744   944 pts/5    S+   23:21   0:00 grep --color=auto mysq*

licess 发表于 2015-9-16 08:30:10

reload是重载配置不是重启
restart才是重启
页: [1]
查看完整版本: mysql重启失败