mysql bug in latest debian package

Ted Roche tedroche at tedroche.com
Sun Aug 21 10:52:00 EDT 2005


Thanks for the heads-up. This is probably a botched attempt to cope  
with the fact that MySQL changed its password hash routine between  
versions 4.0.x and 4.1.x. The proper way to support older databases  
and/or allow clients with the old password hash to access MySQL is to  
start MySQL with the --old-passwords startup switch, as described here:

http://dev.mysql.com/doc/mysql/en/old-client.html

Ted Roche, MySQL Core Certified last Thursday :)
Ted Roche & Associates, LLC
http://www.tedroche.com


On Aug 20, 2005, at 8:13 AM, Greg Rundlett wrote:

> There is a simple, but major bug in the latest Debian package for
> MySQL.  It  puts an incompatible line in the configuration file
> (etc/mysql/my.cnf).  'old_passwords' is an unknown variable for mysql
> 4 apparently.  This is major because it prevents MySQL from running.
> All you have to do is comment the line.
>
>
>> # For compatibility to other Debian packages that still use
>> # libmysqlclient10 and libmysqlclient12.
>> # old_passwords    = 1
>>
>
> I didn't find this out for a long time, because I just didn't think to
> add the verbose switch when starting mysql.  Instead I was trying to
> figure out why it wouldn't create the socket.
>
> The maintainers are aware of it, and I posted a comment in the  
> mysql docs too.
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=321578
> http://dev.mysql.com/doc/mysql/en/can-not-connect-to-server.html
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
>





More information about the gnhlug-discuss mailing list