[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Shutdown mysql...
- Subject: [cobalt-users] Shutdown mysql...
- From: Santiago Montalván <smontalvan@xxxxxxxxxxxxxxxxx>
- Date: Tue Nov 12 01:04:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
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