Anyone using dbexpress driver for mysql with Mac OS X?
got a error message "Unknow driver: DevartMySQL Direct"
I called Direct Method, as below, which works fine for windows(with different libraryname)
SQLConnection.DriverName := 'DevartMySQL Direct';
SQLConnection.LibraryName := 'libdbexpmda40.dylib';
any idea what is wrong with it? or any working example code
Eric
dbx driver for max osx error: "Unknow driver: DevartMySQL Direct" with libdbexpmda40.dylib
-
- Posts: 4
- Joined: Fri 08 Jun 2012 11:42
Re: dbx driver for max osx error: "Unknow driver: DevartMySQL Direct" with libdbexpmda40.dylib
Hello,
The point is that you set the incorrect driver name. To solve the problem, you should set the DriverName property to 'DevartMySQLDirect' (without spaces) instead of 'DevartMySQL Direct'.
The point is that you set the incorrect driver name. To solve the problem, you should set the DriverName property to 'DevartMySQLDirect' (without spaces) instead of 'DevartMySQL Direct'.
-
- Posts: 4
- Joined: Fri 08 Jun 2012 11:42
Re: dbx driver for max osx error: "Unknow driver: DevartMySQL Direct" with libdbexpmda40.dylib
I have tried DevartMySQLDirect without space, then the error message become "Unknow driver: DevartMySQLDirect"
Re: dbx driver for max osx error: "Unknow driver: DevartMySQL Direct" with libdbexpmda40.dylib
To solve the problem, you should add the DbxDevartMySql unit to the USES clause of your unit.
-
- Posts: 4
- Joined: Fri 08 Jun 2012 11:42
Re: dbx driver for max osx error: "Unknow driver: DevartMySQL Direct" with libdbexpmda40.dylib
I tried include the unit in Devart\Dbx\MySql\Delphi16\OSX32\DbxDevartMySql.dcu as below,
DbxDevartMySql in ".\dcu\OSX32\DbxDevartMySql.dcu";
now it will not compile, [DCC Fatal Error] : F2051 Unit DbxDevartMySql was compiled with a different version of Data.DBXCommon.TDBXDriverDef
I am using "Embarcadero® Delphi® XE2 Version 16.0.4276.44006"
Eric
DbxDevartMySql in ".\dcu\OSX32\DbxDevartMySql.dcu";
now it will not compile, [DCC Fatal Error] : F2051 Unit DbxDevartMySql was compiled with a different version of Data.DBXCommon.TDBXDriverDef
I am using "Embarcadero® Delphi® XE2 Version 16.0.4276.44006"
Eric
-
- Posts: 4
- Joined: Fri 08 Jun 2012 11:42
Re: dbx driver for max osx error: "Unknow driver: DevartMySQL Direct" with libdbexpmda40.dylib
also tried include
Devart\Dbx\MySql\Source\DbxDevartMySql.pas
got the same error message,if I remove it from the unit list, it will compile and works for windows only.
Devart\Dbx\MySql\Source\DbxDevartMySql.pas
got the same error message,if I remove it from the unit list, it will compile and works for windows only.
Re: dbx driver for max osx error: "Unknow driver: DevartMySQL Direct" with libdbexpmda40.dylib
The point is that the latest dbExpress driver for MySQL version 5.1.3 requires Update 4 for RAD Studio XE2 (16.0.4429.46931). You can find a note about this in the dbExpress driver for MySQL revision history (the History.html file) and at our website at http://www.devart.com/dbx/mysql/compatibility.html . To solve the problem, you should install RAD Studio XE2 Update 4.