What about mysql startup error The server quit without updating PID file (/ usr/local/mysql/data/)
Editor to share with you about the mysql startup error The server quit without updating PID file how to do, I believe that most people do not understand, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Mysql start error The server quit without updating PID file (/ usr/local/mysql/data/)
Reconfigure vi / etc/my.cnf join
# add: in [mysqld]:
Datadir = / usr/local/mysql/data
Log-error = / usr/local/mysql/data/error.log
Pid-file = / usr/local/mysql/data/mysql.pid
User = mysql
Tmpdir = / tmp
# Save exit
# initialize the database
. / mysql_install_db-user=mysql-basedir=/usr/local/mysql-datadir=/usr/local/mysql/data-pid-file=/usr/local/mysql/data/mysql.pid-tmpdir=/tmp
[root@localhost scripts] # service mysqld restart
Shutting down MySQL. [OK]
Starting MySQL.. [OK]
The above is all the contents of the article "what to do about mysql startup error The server quit without updating PID file". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!