[solved] Connection problem MYSQL from Delphi 7

The official tester's forum for ZeosLib 7.1. Ask for help, post proposals or solutions.
Post Reply
alexxpplus
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 29.12.2013, 22:02

[solved] Connection problem MYSQL from Delphi 7

Post by alexxpplus »

Hello. I have such problem when I'm trying to connect to MySQL 5.1 using ZConnection. I have success connection if LoginPrompt is true. And I have a message immediately: "SQL Error: Access denied ..."
I can't understand why so and what should I do?
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Connection problem MYSQL from Delphi 7

Post by marsupilami »

Hello alexxpplus,

did you assign correct values to the username and password properties of the TZConnection object?
Best regards,

Jan
alexxpplus
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 29.12.2013, 22:02

Re: Connection problem MYSQL from Delphi 7

Post by alexxpplus »

Username and password are the same with loginprompt.
alexxpplus
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 29.12.2013, 22:02

Re: Connection problem MYSQL from Delphi 7

Post by alexxpplus »

It's ok, my mistake. Property user in very unusual place :)
Post Reply