MyDAC Embedded and Mac OS X

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
bugmenot2
Posts: 9
Joined: Tue 19 Mar 2013 12:20

MyDAC Embedded and Mac OS X

Post by bugmenot2 » Mon 21 Mar 2016 16:28

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...

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: MyDAC Embedded and Mac OS X

Post by AlexP » Tue 22 Mar 2016 13:16

Hello,

MySQL doesn't distribute Embeded library for Mac OS.

bugmenot2
Posts: 9
Joined: Tue 19 Mar 2013 12:20

Re: MyDAC Embedded and Mac OS X

Post by bugmenot2 » Tue 22 Mar 2016 14:18

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;

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: MyDAC Embedded and Mac OS X

Post by AlexP » Wed 23 Mar 2016 12:34

You should compile this library from sources by yourself.

Daniel_IBD
Posts: 3
Joined: Mon 01 Aug 2016 07:03

Re: MyDAC Embedded and Mac OS X

Post by Daniel_IBD » Mon 01 Aug 2016 11:01

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?

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: MyDAC Embedded and Mac OS X

Post by ViktorV » Tue 02 Aug 2016 11:08

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.

Post Reply