mysqld_safe启动mysql
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysqld_safe启动mysql相关的知识,希望对你有一定的参考价值。
/home/data_mysql/mysql_3306/bin/mysqld_safe --defaults-file=/home/data_mysql/mysql_3306/my.cnf --user=root &
原来的
/home/data_mysql/mysql_3306/bin/mysqld --defaults-file=/home/data_mysql/mysql_3306/my.cnf --basedir=/home/data_mysql/mysql_3306 --datadir=/home/data_mysql/mysql_3306/data --plugin-dir=/home/data_mysql/mysql_3306/lib/plugin --user=mysql --log-error=/home/log_mysql/mysql_3306_log/log-error.err --open-files-limit=65535 --pid-file=/home/data_mysql/mysql_3306/data/localhost.localdomain.pid --socket=/tmp/mysql.sock --port=3306
以上是关于mysqld_safe启动mysql的主要内容,如果未能解决你的问题,请参考以下文章
mysqld_safe启动报错 mysqld_safe The file /usr/local/mysql/bin/mysqld does not exist or is not executab
mysqld_safe启动报错 mysqld_safe The file /usr/local/mysql/bin/mysqld does not exist or is not executable