MySQL binary installation startup issues

Source: Internet
Author: User

There was a problem starting up after the binary installation (MySQL is installed under/APPLICATION/MSYQL):

[[email protected] 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 was 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:

The first is to follow the wrong instructions, strict execution./bin/mysqld_safe&, after which you can start, start with the following:

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


Can be seen with/etc/init.d/mysqld boot, the reason for the error, or the configuration file problems, no configuration files found. Executable command./bin/mysqld_safe--defaults-file=/etc/my.cnf Specifies a configuration file that is already configured.



This article is from the "12086733" blog, please be sure to keep this source http://12096733.blog.51cto.com/12086733/1909410

MySQL binary installation startup issues

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.