Mysqlcouldn ' t find MySQL Manager

Source: Internet
Author: User

MySQL appears mysqlcouldn ' t find MySQL Manager error solution

Most recent Web sites on one of my Linux servers are not open ..... Visit the website without prompting ..... Only errors that cannot be displayed on this page appear.

I'm using a Debian system ..... The LNMP kit is installed ..... Connect with putty .....
input/root/lnmp status 
Result:
nginx is runing!
php-fpm is runing!
mysql is not running failed!

seems to be a problem with MySQL ...
Try restart
Result:
Mysql manager or server pid file could not be  found! failed!
Starting mysqlcouldn ' t find mysql manager  (/usr/bin/mysqlmanager)  or  server  (/usr/bin/mysqld_safe)  failed!

:


looked up some data that should be a duplicate of the profile ....
Open/etc directory Discovery my.cnf file ... The
Open/etc/mysql directory also has a my.cnf file ....
Input command: mv /etc/mysql/my.cnf /etc/mysql/my.cnf.old
Rename/etc/mysql/my.cnf to My.cnf.old

and then:/ Etc/init.d/mysql start
Successful .... As for why there are two configuration files ... It's not clear ....
There is one way to do this is to rename/etc/my.cnf this file ... I tried not to. Should be MySQL default is to load this file ...
later I renamed/etc/mysql/my.cnf this file ... MySQL started successfully ...

Website Normal Access ~ ~

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.