Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Problems with startup of mysql binary installation

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

After binary installation, there was a problem at startup (mysql installed under / application/msyql):

[root@135 bin] # / etc/init.d/mysqld start

Starting MySQL.170320 22:21:51 mysqld_safe The file / usr/local/mysql/bin/mysqld

Does not exist or is not executable. Please cd to the mysql installation

Directory and restart this script from there as follows:

. / bin/mysqld_safe&

See http://dev.mysql.com/doc/mysql/en/mysqld-safe.html for more information

ERROR! The server quit without updating PID file (/ application/mysql/data/135.pid).

Solutions and ideas:

First of all, follow the error prompt, strictly execute. / bin/mysqld_safe&, can be started, the startup process is as follows:

Mysql 4389 4243 2 22:23 pts/0 00:00:00 / bin/mysqld-basedir=/application/mysql-datadir=/application/mysql/data-plugin-dir=/application/mysql/lib/plugin-user=mysql-log-error=/application/mysql/data/135.err-pid-file=/application/mysql/data/135.pid

You can see that when you start with / etc/init.d/mysqld, the error above is still a problem with the configuration file, and the configuration file is not found. The executable command. / bin/mysqld_safe-- defaults-file=/etc/my.cnf specifies the configuration file that has been configured.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report