#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2004
    Posts
    2
    Rep Power
    0

    MySQLdb Error 1251 trying to connect


    I have just installed MySQL on my Windows XP PC - and I can use it from the command line software provided with MySQL.

    Next I downloaded MySQL-Python.exe-0.9.2.win32-py2.3.exe

    And tried the folowing programme :-

    import MySQLdb

    connection = MySQLdb.Connect(db='pacsmain', host="localhost", user="root", passwd="paul47")

    conection.close()

    The error I get is 1251 (Client does not support authentication protocol ....)

    I then tried the zip version of MySQLdb - same result.

    Can anyone tell me what is this error all about?
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2004
    Posts
    2
    Rep Power
    0
    Originally Posted by jimscafe
    I have just installed MySQL on my Windows XP PC - and I can use it from the command line software provided with MySQL.

    Next I downloaded MySQL-Python.exe-0.9.2.win32-py2.3.exe

    And tried the folowing programme :-

    import MySQLdb

    connection = MySQLdb.Connect(db='pacsmain', host="localhost", user="root", passwd="paul47")

    conection.close()

    The error I get is 1251 (Client does not support authentication protocol ....)

    I then tried the zip version of MySQLdb - same result.

    Can anyone tell me what is this error all about?
    I think I now know the answer - I have installed MySQL 4.1 and the binary MySQLdb does not support 4.1.

    I am trying to uninstal 4.1 and instal 4.0

IMN logo majestic logo threadwatch logo seochat tools logo