Lazarus

Programming => Databases => Topic started by: aducom on August 04, 2014, 10:09:18 am

Title: MySQL connection issue
Post by: aducom on August 04, 2014, 10:09:18 am
I have put a SQLConnector on the form and select the MySQL 5.5 database type. Fill in the details and I can connect.

Then I added a SQLQuery component and applied the SQLConnector. I added a SQL statement (show databases), added datasource and dbgrid.

When I open the query I get the message that TMySQL56Connection cannot work with the installed MySQL client version (Expected 5.6) got (5.5.33).

I selected 5.5 in the sqlconnector, so somehow the latest version is applied in the query.

Am I doing something wrong here or is there a bug somewhere?
Title: Re: MySQL connection issue
Post by: aducom on August 04, 2014, 11:50:54 am
Ok, there are more SQLConnectors in the project and i guess there was some interference. I changed the module to create the components dynamically and now it works. Issue closed.
TinyPortal © 2005-2018