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

Re: [cobalt-users] Shutdown mysql...



Santiago Montalván wrote:
> 
> 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?

You need to use the backtick character ( ` )  on the tilde key on most
keyboards), not the apostrophe/single quote character ( ' ).


--
Bruce Timberlake
Linux/Cobalt Technology Engineer
Communications Market Area
Sun Microsystems - San Diego, CA

E: bruce.timberlake@xxxxxxx
T: 877-718-3569 / x69369