List:General Discussion« Previous MessageNext Message »
From:Ray Hodel Date:August 31 1999 9:39pm
Subject:Re: Using Passwords on BSDI 4.01 with MySQL 3.22.25
View as plain text  
Hello,

Is it safe to assume that everyone else that runs MySQL 3.22.25
on BSDI 4.01 does not have the same problem I do.

I have install MySQL 3.22.25 and a friend of mine has installed
MySQL 3.22.25 & MySQL 3.23.2-alpha on different machines
with the exact same problem.  Passwords do not work.

If anyone has gotten MySQL 3.22.25 to work on BSDI 4.01,
could you send me the command line options you used to
compile MySQL.  I'm grasping at straws at the moment.

>mysql --password=your-password

Doesn't work for me.

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

The  "pass = test" is what was returned from getpass().

I'll try delving into the code a little to see how far the password gets
before
connecting to the server.

Thanks for the help,
Ray Hodel


----- Original Message -----
From: Michael Widenius <monty@stripped>
To: Ray Hodel <hodel@stripped>
Cc: <mysql@stripped>
Sent: Monday, August 30, 1999 6:01 PM
Subject: Re: Using Passwords on BSDI 4.01 with MySQL 3.22.25


>>>>>> "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
>
>---------------------------------------------------------------------
>Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
>posting. To request this thread, e-mail mysql-thread11780@stripped
>
>To unsubscribe, send a message to the address shown in the
>List-Unsubscribe header of this message. If you cannot see it,
>e-mail mysql-unsubscribe@stripped instead.
>


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