Hello DevArt Support team...
Can you please explain how I can use MyDAC for Mac OS X for Embedded connection?
When I try to connect "MyEmbConnection1.Connected := True;" it's try to load "libmysqld.dylib" library but here no such file "libmysqld.dylib" in MySQL installation package.
I'm use RAD 10 Seatle + MyDAC 8.6.21 + mysql-5.7.11.
Thanks...
MyDAC Embedded and Mac OS X
Re: MyDAC Embedded and Mac OS X
Hello,
MySQL doesn't distribute Embeded library for Mac OS.
MySQL doesn't distribute Embeded library for Mac OS.
Re: MyDAC Embedded and Mac OS X
If Embedded not distributed for OS X -why you try to load libmysqld.dylib?
class function TMySQLAPIEmbedded.GetLibraryName: string;
begin
if MySQLClientLibrary <> '' then begin
Result := MySQLClientLibrary;
Exit;
end;
{$IFDEF MSWINDOWS}
Result := 'libmysqld.dll';
{$ELSE}
{$IFDEF MACOS}
Result := 'libmysqld.dylib';
{$ELSE}
{$IFDEF ANDROID}
Result := 'libmysqld.so';
{$ELSE}
Result := 'libmysqld.so';
{$ENDIF}
{$ENDIF}
{$ENDIF}
end;
class function TMySQLAPIEmbedded.GetLibraryName: string;
begin
if MySQLClientLibrary <> '' then begin
Result := MySQLClientLibrary;
Exit;
end;
{$IFDEF MSWINDOWS}
Result := 'libmysqld.dll';
{$ELSE}
{$IFDEF MACOS}
Result := 'libmysqld.dylib';
{$ELSE}
{$IFDEF ANDROID}
Result := 'libmysqld.so';
{$ELSE}
Result := 'libmysqld.so';
{$ENDIF}
{$ENDIF}
{$ENDIF}
end;
Re: MyDAC Embedded and Mac OS X
You should compile this library from sources by yourself.
-
- Posts: 3
- Joined: Mon 01 Aug 2016 07:03
Re: MyDAC Embedded and Mac OS X
I have the same problem with android.
What do you mean "You should compile this library from sources by yourself."
What am I going to compile?
What do you mean "You should compile this library from sources by yourself."
What am I going to compile?
Re: MyDAC Embedded and Mac OS X
This question is not related to MyDAC functionality. Please contact MySQL server developers concerning obtaining a library for access to MySQL Embedded server on MacOS or Android.