TMyConnection on IOs

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jmonty77
Posts: 3
Joined: Wed 06 Sep 2017 12:21

TMyConnection on IOs

Post by jmonty77 » Wed 06 Sep 2017 12:28

Hello, I've a firemonkey multidevice application that connects to mysql server in ssl mode on port 80.
It works in windows, osx and Android, but in IOs I get this exception: "Wrong or unknown protocol'#$D#$A'Can''t create SSL connection"

"libcrypto.1.0.0.dylib" and "libssl.1.0.0.dylib" based on "openssl-1.0.2l" are deployed in Ios simulator and other indy https calls are working.

What could be wrong?

Thank you very much

Jordi

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

Re: TMyConnection on IOs

Post by ViktorV » Thu 07 Sep 2017 14:20

You can use MyDAC with SecureBridge components to connect to MySQL database, using SSL or SSH protocol. SecureBridge uses its own implementation of the SSL protocol without using third-party libraries.
You can obtain information about connecting to MySQL server using SSL or SSH in our documentation: https://www.devart.com/mydac/docs/?secu ... ctions.htm You can see an example of MyDAC and securebridge coworking in demo projects: %MyDACDemos%\TechnologySpecific\securebridge, where %MyDACDemos% is MyDAC of demo projects an installation path on your computer.

jmonty77
Posts: 3
Joined: Wed 06 Sep 2017 12:21

Re: TMyConnection on IOs

Post by jmonty77 » Thu 07 Sep 2017 14:38

Then, in Windows and Android SecureBridge is not needed to use SSL, but I must buy SecureBridge in Ios?

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

Re: TMyConnection on IOs

Post by ViktorV » Fri 08 Sep 2017 07:21

When using SecureBridge, you can establish SSL or SSH connections to MySQL server for any platform without using third-party components.
Apple's policy prohibits the deployment of applications that use third-party libraries for mobile iOS devices, and since MyDAC for connecting to MySQL server using SSL connections, requires libssl and libcrypto libraries to work, you won't be able to install such an application for iOS. Therefore, we recommend using MyDAC with SecureBridge components to develop applications for Android and iOS mobile devices, since they do not require using third-party libraries.

jmonty77
Posts: 3
Joined: Wed 06 Sep 2017 12:21

Re: TMyConnection on IOs

Post by jmonty77 » Fri 08 Sep 2017 07:28

Ok, thank you very much. Then we will buy securebridge.

Regards

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

Re: TMyConnection on IOs

Post by ViktorV » Fri 08 Sep 2017 08:07

Thank you for the interest in our products.
Please contact us if you have any questions about our products.

Post Reply