[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Shutdown mysql...



I am trying to kill mysqld so I can reset the root password but I cannot
takedown the .pid file...  Here is what I have:

[root mysql]# ls
mysql  mysql.sock  ns1.hostname.com.err  ns1.hostname.com.pid  test

And then I type:

[root /]# kill 'cat /var/lib/mysql/ns1.hostname.com.pid'
kill: No such pid cat /var/lib/mysql/ns1.hostname.com.pid

I and get the above error, why?  What am I doing wrong?

(I am replacing the actual domain name for hostname for this example).

So then I do a...

[root mysql]# ps -A | grep sql
20623 ?        00:00:00 safe_mysqld
20654 ?        00:00:00 mysqld
20656 ?        00:00:00 mysqld
20657 ?        00:00:00 mysqld

And of course mysqld is still running...  PLEASE help I wanna start doing
some MySQL stuff but I need to know the password.

Thanks,

Santy.
______________________________
Santiago Montalván
Information Technology Consultant
MontalvanWare.Com