List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:August 29 1999 9:18pm
Subject:User Error
View as plain text  
>>>>> "Sandeep" == Sandeep Sawhney <naddy@stripped> writes:

Sandeep> HI 
Sandeep> i created a  database called HITJOBS
Sandeep> and added this info for it 

Sandeep> insert into user (host,user,password)
Sandeep> values('localhost','hitjobs1',password('hobxxx'));

                             ^^^^^^^^

Sandeep> insert into db (host,db,user,Select_priv,Insert_priv,Update_priv,Delete_priv,
Sandeep>         Create_priv,Drop_priv)  values
Sandeep> 'localhost','hitjobs','hitjobs1','Y','Y','Y','Y','Y','Y');

Sandeep> when i try to connect to it 

Sandeep> localhost:/usr/local/mysql/bin$ mysql hitjobs -u hitjobs -p
                                                          ^^^^^^^
Sandeep> Enter password:    

Sandeep> i put in hobxxx i get 
Sandeep> ERROR 1045: Access denied for user: 'hitjobs@localhost' (Using password: YES)

Sandeep> what could i be doing wrong ..

hitjobs <> hitjobs1

Regards,
Monty
Thread
User ErrorSandeep Sawhney29 Aug
  • Re: User ErrorMartin Ramsch29 Aug
  • Re: User ErrorPaul DuBois29 Aug
  • User ErrorMichael Widenius29 Aug