TZConnection connect failure
Posted: 19.05.2009, 05:27
I got a TZConnection by assigning the parameters:
host, user, password and port.
I worked fine in my application, I can connect to the MySQL version 5.
Now I have second application, put the same TZConnection in the datamodule, also assign
host, user, password and port
at runtime.
However, when I called
Connection.Connect;
I got an exception:
EZSQLException with message
'SQL Error: Client does not support authertication protocol requested byserver; consider upgrading MySQL client'
I have already the libmysql.dll in both application's directory.
Any idea why the first one worded fine but not the second?
host, user, password and port.
I worked fine in my application, I can connect to the MySQL version 5.
Now I have second application, put the same TZConnection in the datamodule, also assign
host, user, password and port
at runtime.
However, when I called
Connection.Connect;
I got an exception:
EZSQLException with message
'SQL Error: Client does not support authertication protocol requested byserver; consider upgrading MySQL client'
I have already the libmysql.dll in both application's directory.
Any idea why the first one worded fine but not the second?