List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:August 30 1999 10:01pm
Subject:Re: Using Passwords on BSDI 4.01 with MySQL 3.22.25
View as plain text  
>>>>> "Ray" == Ray Hodel <hodel@stripped> writes:

Ray> Hello,
>> Did you enter an password or did you just type an empty line.

Ray> Yes, I type in a password when attempting to login.

Could you try if the following works::

mysql --password=your-password 

>> If you entered a password, then the bug may be in your systems
>> 'getpass()' command.

Ray> I'm not sure what problem there might be with the getpass() command.
Ray> But, when it calls getpass() it returns a string containing the password I
Ray> entered.

getpass() is a system function used by the 'mysql'-client to prompt
for the password.  

Ray> | localhost      | hodel    | 378b243e220ca493 | Y

The above is from the mysql privilege file (doesn't have anything to
do with getpass())

Ray> foo: {121} % ./mysql -u hodel -p
Ray> Enter password:
Ray> pass = test
Ray> Access denied for user: 'hodel@localhost' (Using password: NO)

Ray> What does the "Using password: NO" mean?  Shouldn't that be YES, even
Ray> if the passwor is incorrect?

Yes.  This means that mysqld did never get an password from you and
this could mean that getpass() doesn't work.

Did you try the following:

>> remove 'HAVE_GETPASS' from config.h and recompile

Regards,
Monty
Thread
Using Passwords on BSDI 4.01 with MySQL 3.22.25Ray Hodel27 Aug
  • Re: Using Passwords on BSDI 4.01 with MySQL 3.22.25Vivek Khera27 Aug
  • Using Passwords on BSDI 4.01 with MySQL 3.22.25Michael Widenius29 Aug
Re: Using Passwords on BSDI 4.01 with MySQL 3.22.25Ray Hodel27 Aug
Re: Using Passwords on BSDI 4.01 with MySQL 3.22.25Ray Hodel30 Aug
  • Re: Using Passwords on BSDI 4.01 with MySQL 3.22.25Michael Widenius31 Aug
    • Re: Using Passwords on BSDI 4.01 with MySQL 3.22.25Vivek Khera31 Aug
Re: Using Passwords on BSDI 4.01 with MySQL 3.22.25Ray Hodel1 Sep
  • Re: Using Passwords on BSDI 4.01 with MySQL 3.22.25Vivek Khera1 Sep