[Lazarus] can't connect to Mysql database using TMysql57connection

Larry Dalton larrydalton71 at gmail.com
Tue Jun 5 12:42:20 CEST 2018


running mysql in terminal gets ERROR 1045 (28000): Access denied for user
'larry'@'localhost' (using password: NO)

running mysql -u root Ricky2013 -D bankofamerica get ERROR 1698 (28000):
Access denied for user 'root'@'localhost'

apparently it is using a different password? or case?


On Tue, Jun 5, 2018 at 1:55 AM, Michael Van Canneyt via Lazarus <
lazarus at lists.lazarus-ide.org> wrote:

>
>
> 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.
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180605/a8ff0be7/attachment.html>


More information about the Lazarus mailing list