4 messages in com.mysql.lists.mysqlProblem with python connect.
FromSent OnAttachments
Michael Satterwhite19 Jan 2004 05:24 
Michael Satterwhite19 Jan 2004 06:36 
Michael Stassen19 Jan 2004 06:56 
Michael Satterwhite19 Jan 2004 07:15 
Subject:Problem with python connect.
From:Michael Satterwhite (mich@weblore.com)
Date:01/19/2004 05:24:45 AM
List:com.mysql.lists.mysql

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

I'm running the SuSE 8.2 distro with MySQL 4.1.0-0 and python-mysql-0.9.1-430.

On Saturday, I had to do a reinstall of everything (long story). The software listed above is the same as it was before the reinstall. The only difference is that this time I installed 4.1 directly, before I had done an upgrade from 4.0 to 4.1.

I try to connect to MySQL as follows:

import MySQLdb db = MySQLdb.connect(user="michael", passwd="*****", db="backups")

When I do this, I get the following exception:

_mysql_exceptions.OperationalError: (1249, 'Client does not support authentication protocol requested by server. Consider upgrading MySQL client')

Tables are INNODB, but we're not to that point yet. The MySQL client is the one with the 4.1 beta release - and worked before the reinstall.

Can anyone offer me any help??

tia - ---Michael

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQFAC9q/jeziQOokQnARAkufAJ9UA6XbYpY+dFF8+z8dhaRu89vbJACdG0Qa nz4/d30F6+bINSLQvGdf804= =/fMz -----END PGP SIGNATURE-----