Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001122

[PHP] Re: sql password From: Mike Eheler (meheler <email protected>)
Date: 12/18/01

yeah

if you just installed, root doesn't have a password.. so you need to not
specify -p (this tells the server to try and authenticate with an empty
password, as opposed to attempting to authenticate with no password..
there is a difference):

mysqladmin -u root password mypassword

Mike

Jeremiah Jester wrote:

> Im attempting to install mysql. The service started and everything seems to
> be going ok except for that I can't set the root password for the mysql
> server.
>
> To reset password i type:
>
> /usr/bin/mysqladmin -u root -p mypassword
>
> Then I get the following error:
>
> /usr/bin/mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user: 'root <email protected>' (Using password: YES)'
>
> Can anyone help?
> Thanks,
> JJ
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>