List:General Discussion« Previous MessageNext Message »
From:Gavin Towey Date:November 13 2009 6:53pm
Subject:RE: cannot find my.cnf file
View as plain text  
Did you remove the my.cnf file and then run /etc/init.d/mysql stop?  The my.cnf probably had non-default paths for the pid file, so if you remove the config file, now the startup script is looking in the wrong location.

Also for your password issue, please show use the exact command you're using to try to log in, and the exact error message you get.

Gavin Towey

-----Original Message-----
From: Sydney Puente []
Sent: Friday, November 13, 2009 5:31 AM
To: mysql@stripped
Subject: Re: cannot find my.cnf file

Yes I enter the password manually into the remote mysql client (actually Oracle's SQL developer) when I login.

I thought I would restart mysql with the /etc/init.d/mysql script and go back to the original "default" settings without any my.cnf present. Just to check it was some setting in my.cnf that caused the log in problem.

# ./mysql status
MySQL is running but PID file could not be found           [FAILED]
# ./mysql stop
MySQL manager or server PID file could not be found!       [FAILED]

In fact I cannot find a pid file anywhere on the box.
# ps -ef | grep mysql
root      6517     1  0 10:10 pts/0    00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/
mysql     6623  6517  0 10:10 pts/0    00:00:24 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql/object01.err --pid-file=/var/lib/mysql/ --socket=/var/lib/mysql/mysql.sock --port=3306
# locate pid | grep mysql

I have no idea why a pid file would be missing!

any ideas


MySQL General Mailing List
For list archives:
To unsubscribe:

The information contained in this transmission may contain privileged and confidential information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
cannot find my.cnf fileSydney Puente12 Nov
  • Re: cannot find my.cnf fileJohn Daisley12 Nov
    • RE: cannot find my.cnf fileGavin Towey12 Nov
  • Re: cannot find my.cnf fileκΉ€μˆ˜μ˜13 Nov
  • Re: cannot find my.cnf filewalter harms13 Nov
    • RE: cannot find my.cnf fileCharles Brown13 Nov
Re: cannot find my.cnf fileSydney Puente13 Nov
  • RE: cannot find my.cnf fileGavin Towey13 Nov