[CentOS] Re: Request info on managing MySQL

Mon Sep 22 15:27:22 UTC 2008
Bob Hoffman <bob at bobhoffman.com>

 

> 
> shell> mysql -u root
>  mysql> SET PASSWORD FOR 'root'@'localhost' = 'paswrd1';
> mysql> SET  PASSWORD FOR mysql> 'root'@'host_name' = 'passwrd2';
> 

Host_name is usually localdomain..

But check first with show databases to see..

Sorry for the many emails....