[Lazarus] can't connect to Mysql database using TMysql57connection
Michael Van Canneyt
michael at freepascal.org
Tue Jun 5 07:55:26 CEST 2018
On Mon, 4 Jun 2018, leledumbo via Lazarus wrote:
>> Project Moneyproject raised exception class 'ESQLDatabaseError ' with
> message
>> 'Server Connect Failed'.
>
> Check installed libmysql client version.
The error he gets is the error fpc raises when mysql_connect() fails.
So I think it is something else.
However, to test this, Larry, can you please please test on the command
line, on the machine where lazarus is running:
mysql
If you see:
Client does not support authentication protocol requested
by server; consider upgrading MySQL client
then you'll know what to do
additionally, can you test what you get with:
mysql -u root -p yourpassword -D bankofamerica
Considering you are using a bitnami install, phpadmin may be configured with some extra parameters.
Michael.
More information about the Lazarus
mailing list