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

RE: [cobalt-users] Need help with MySQL



> /usr/bin/mysqladmin -u root password "new_password"  [where 
> new_password is new password]

Is what you said you were trying.

> PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! 
> This is done with:
> 
> /usr/bin/mysqladmin -u root -p password 'new-password'
> 
> /usr/bin/mysqladmin -u root -h www.mysite.org -p password 
> 'new-password'

Notice ' instead of ". I haven't used this method, but it appears to be
different from what you posted. The above also says -u root -p password
and You only used -u root password. Notice the -p.

-- 
Dan Kriwitsky