List:General Discussion« Previous MessageNext Message »
From:Diana Soares Date:February 18 2003 3:29pm
Subject:Re: problem in connecting to DB
View as plain text  
Everytime you use UPDATE, INSERT, DELETE to update user privileges you
must do a FLUSH PRIVILEGES for changes to take effect.
Check the manual: 

On Tue, 2003-02-18 at 11:57, Ganesh Rajan wrote:
> hello all,
> i would like to put a problem as what iam facing... i created a new database
> & new user, but i didn't give the password...
> then i logged in to mysql
> ie
> c:\mysql\bin> mysql
> then
> mysql> use mysql
> then
> mysql>update user set password=password('pswd') where user= 'username';
> then i got the result as 1row updated.
> then i quit from mysql using mysql>\q....
> now when i want to connect
> i.e.
> c:\mysql\bin> mysql -u username -ppswd dbname;
> iam getting error stating "Error 1405:Access denied for user:
> 'username@localhost '  (user password :YES)'
> can someone throw light onthis... it will be of grate help
> Thanks in advance
> Ganesh Rajan
> ---------------------------------------------------------------------
> Before posting, please check:
>   (the manual)
>           (the list archive)
> To request this thread, e-mail <mysql-thread132661@stripped>
> To unsubscribe, e-mail <>
> Trouble unsubscribing? Try:
Diana Soares

problem in connecting to DBGanesh Rajan18 Feb
  • Re: problem in connecting to DBDiana Soares18 Feb
  • Re: problem in connecting to DBGanesh Rajan19 Feb
  • Re: problem in connecting to DBGanesh Rajan19 Feb
    • Re: problem in connecting to DBKH Chiu19 Feb