Page 1 of 1

Can't connect to MySql using Host name on Android

Posted: Thu 09 May 2019 15:42
by Diego_Foli
I am passing the parameters in execution time
TMyConnection.Server:= 'Server';
In Windows works perfectly, but in Android work only if i use the IP Adress instead of Server name itself.

Re: Can't connect to MySql using Host name on Android

Posted: Fri 10 May 2019 09:59
by ViktorV
The issue is not related to the MyDAC functionality, and occurs when a device can’t resolve the DNS name.
You have found the right solution to the problem by using an IP address instead of a DNS host name.