Direct access to MySQL on mobile
Matthias Rebbe
matthias_livecode_150811 at m-r-d.de
Wed Jul 2 10:59:03 EDT 2025
Klaus,
using shell on Mac or Windows you could do a ping HOSTNAME which then would return the ip adress.
Or you do use the LC function hostNameToAdress. ;)
Regards,
Matthias
Von meinem iPad gesendet
> Am 02.07.2025 um 16:30 schrieb Klaus major-k via use-livecode <use-livecode at lists.runrev.com>:
>
> Hi Matthias,
>
>> Am 02.07.2025 um 16:20 schrieb Matthias Rebbe via use-livecode <use-livecode at lists.runrev.com>:
>>
>> It looks like that the android phone cannot get the correct IP address for the domain name.
>> Did you already try to use the IP address of my server, instead of the domain name?
>
> will have to check if mystudent knows the IP address.
>
> In the meantime I found that we did not check "SSL & Encryption" in the "Inclusions" in the STAB.
> Maybe that will already help.
>
> We are communicating via MS Temans and Monsieur is VERY BUSY (Rentner/Retired :-D) so I need
> to wait for any progress he makes. :-)
>
> Thank you!
>
>> Von meinem iPhone gesendet
>>
>>>> Am 02.07.2025 um 15:41 schrieb Klaus major-k via use-livecode <use-livecode at lists.runrev.com>:
>>>
>>> Hi friends,
>>>
>>> we have a stack that accesses an online MySQL database directly.
>>> This works in the IDE on Mac and Windows, the address is like this:
>>> xxxx.xxxmedia.ch:3306
>>> DB Username and PWD are correct.
>>>
>>> However when we create an Android app and try it on a tablet we get:
>>> -----------------------------------------------------------
>>> Unable to connect to the database:
>>> Unknown MySQL server host 'kallisto.kreativmedia.ch' (13)
>>> -----------------------------------------------------------
>>>
>>> What is the problem? Do we need to add something to the address like
>>> https or something?
>>>
>>> Any hints VERY welcome!
>
> Best
>
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> klaus at major-k.de
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list