MySQL 8.x Header Update Problem

Use this forum if you want to discuss a problem or ask a question related to a hMailServer beta release.
Post Reply
User avatar
Dravion
Senior user
Senior user
Posts: 2071
Joined: 2015-09-26 11:50
Location: Germany
Contact:

MySQL 8.x Header Update Problem

Post by Dravion » 2019-02-02 12:42

Howdy,
As i built the latest LTS Release, it was possible to upgrade to PostgreSQL and MS-SQL-Server latest native API Version but MySQL is unfortently diffrent and makes things problematic.

As described earlier, MySQL 8.x isnt any longer native compatible to libmysql.dll 5.x Versions (regardless if its 32 or 64-Bit) and if you want to use MySQL 8.x you have to configure it in legacy compatibility mode durning the MySQL 8.x Setup
so hMailServer 5.x can connect to it.

However:
Martin decided durning the MySQL feature integration in hMailServer to copy the include header code into a hMailServer specific header
which targets MySQL 4 and 5.x Series so its not a direct reference to MySQL original API Libs.

This prevents easy update to MySQL 8.x native API.
To make it work, the MySQL API Connect code has to be rewritten.

It will work in MySQL 8.x Legacy connect mode for now, but this is far from ideal.

Julien@TLD
Normal user
Normal user
Posts: 57
Joined: 2005-09-12 11:57
Location: Marseille - France

Re: MySQL 8.x Header Update Problem

Post by Julien@TLD » 2022-10-22 10:18

Hi,

Do you have any news about the rewritting of the MySQL API Connect code for native MySQL 8.0 compatibility ?

Thanks for your work.

User avatar
Dravion
Senior user
Senior user
Posts: 2071
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: MySQL 8.x Header Update Problem

Post by Dravion » 2022-10-22 13:24

No, i did not touch it anymore. Maybe its bc it would break MariaDB compatibility

Post Reply