I can kill it but Can't stop mysqld

2001-07-27 Thread cjackson
Thanks everyone for immediate response to this problem. I can kill the mysql process but I cannot stop it using /etc/rc.d/init.d/mysqld stop. I can start it like this using start but not stop it using stop. All of this is done as system root. So runlevel 3 starts it OK, but runlevel 5 won't

can't connect through socket using PHP script

2001-07-27 Thread cjackson
Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) What does this error mean? I am trying to authenticate from a php script using the following code... $db=mysql_pconnect(localhost,username,password); The user username is able to login to mysql ata command

Can't stop msqld

2001-07-26 Thread cjackson
Hello all, I just installed mysql 3.23.32-1.7 with an rpm on redhat7.0 server running apache and php. I could start msqld and shut it down. Then I created a password for root. Mysql still starts but I can't stop it as root or any other user. It runs as user mysql which also requires password.