Patch for ZPlainMySql5.pas
Posted: 05.02.2010, 17:51
At linux systems (or at least at Debian) libmysqlclient.so.16 is MySQL 5.1 library. This patch allows connect to this library.
--- zeosdbo-6.6.6-old_stable/src/plain/ZPlainMySql5.pas
+++ ZEOSDBO-6.6.6-stable/src/plain/ZPlainMySql5.pas
@@ -80,6 +80,7 @@
WINDOWS_50_DLL_LOCATION_EMBEDDED = 'libmysqld50.dll';
WINDOWS_51_DLL_LOCATION_EMBEDDED = 'libmysqld51.dll';
LINUX1_DLL_LOCATION = 'libmysqlclient.so.15';
+ LINUX2_DLL_LOCATION = 'libmysqlclient.so.16';
{ General Declarations }
// PROTOCOL_VERSION = 10;
--- zeosdbo-6.6.6-old_stable/src/plain/ZPlainMySql5.pas
+++ ZEOSDBO-6.6.6-stable/src/plain/ZPlainMySql5.pas
@@ -80,6 +80,7 @@
WINDOWS_50_DLL_LOCATION_EMBEDDED = 'libmysqld50.dll';
WINDOWS_51_DLL_LOCATION_EMBEDDED = 'libmysqld51.dll';
LINUX1_DLL_LOCATION = 'libmysqlclient.so.15';
+ LINUX2_DLL_LOCATION = 'libmysqlclient.so.16';
{ General Declarations }
// PROTOCOL_VERSION = 10;