The readme says that mysql 4.0 is supported, but here's
a heads up just in case anyone tries to connect to 4.1
or 4.2 like I just did (you can, but not without a
MySQL versions 4.1+ have a new authentication algorithm
- so trying to connect from the command line with
MySQLdb 1.0 I got
"""File "<interactive input="">", line 1, in ?
line 64, in Connect
return apply(Connection, args, kwargs)
line 116, in init
line 41, in _make_connection
apply(super(ConnectionBase, self).init__, args,
OperationalError: (1251, 'Client does not support
authentication protocol requested by server; consider
upgrading MySQL client')"""
I made a new user and set their password to the
old-authentication hash using the instructions on
http://dev.mysql.com/doc/mysql/en/Old_client.html and I
could then connect. I hope this is useful for others
encountering this (by ignoring the explicit warning
that only 4.0 is currently supported...!!)
Log in to post a comment.