MySQL 5 and Delphi 7

Forum related to MySQL

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
decho
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 07.12.2005, 09:15

MySQL 5 and Delphi 7

Post by decho »

Hello !
I have a little problem with connection to MySQL server.
I am using ZEOS Lib and MySQL 5 with Delphi 7 Professional.
(zeosdbo-6.5.1-alpha_cvs_13-10-2005.zip)

When I try to login without password - everything work's fine
but
when I must enter the password to login then
the server display the error message:
"SQL Error: Client does not support authentication protocol requested by server; consider upgradin MySQL client"

I have the same problem with ODBC Connector.
(mysql-connector-odbc-noinstall-3.51.12-win32.zip)

Do You have a problem like this ?
What can I do ?

p.s. Sorry for my english :)
zippo
Silver Boarder
Silver Boarder
Posts: 322
Joined: 12.10.2005, 18:01
Location: Slovenia

Post by zippo »

You're probably using an old libmysql.dll - check this. Since MySQL 4.1 the password coding has changed.
pol
Senior Boarder
Senior Boarder
Posts: 91
Joined: 13.10.2005, 08:19

Post by pol »

You can also start mysqld with --old-passwords or put old-passwords into my.ini in the [mysqld] section.
decho
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 07.12.2005, 09:15

Post by decho »

zippo wrote:You're probably using an old libmysql.dll - check this. Since MySQL 4.1 the password coding has changed.
I checked.
The lib used by me is the same lib witch is distributed with ZEOS-Lib package.

When I replace this (libmysql40.dll) lib with new LIB from MySQL 5 (libmySQL.dll) and change the filename of cors when the application crash.
:(
pol wrote:You can also start mysqld with --old-passwords or put old-passwords into my.ini in the [mysqld] section.
Yes ! it works ! - (of cors after "flush-privileges")
Thank's You.
zippo
Silver Boarder
Silver Boarder
Posts: 322
Joined: 12.10.2005, 18:01
Location: Slovenia

Post by zippo »

No problem - ask anytime! :)
Post Reply