Recent

Author Topic: MySQL connection issue  (Read 1785 times)

aducom

  • Full Member
  • ***
  • Posts: 122
    • http://www.aducom.com
MySQL connection issue
« 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?

aducom

  • Full Member
  • ***
  • Posts: 122
    • http://www.aducom.com
Re: MySQL connection issue
« Reply #1 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.