Problem to connect MySQL 5.1

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
[email protected]
Posts: 1
Joined: Wed 23 Mar 2011 10:04
Location: SPAIN

Problem to connect MySQL 5.1

Post by [email protected] » Wed 23 Mar 2011 11:09

I'v upgraded MySQL from Mysql 5.0 to MySQL 5.1 and I can't connect from my C++ Builder programas with MyDAC. I can connect from other clients but not from C++ Builder.

I work with C++ Builder 6 and MyDAC 3.50

Thanks

AndreyZ

Post by AndreyZ » Wed 23 Mar 2011 15:25

Hello,

You can solve this problem in two ways:
1) by upgrading MyDAC;
2) by setting the TMyConnection.Options.Direct option to False. Note that in this case you will need the libmysql.dll library.

Post Reply