IPv6 & Apple

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Tue Aug 23 16:39:35 EDT 2016


And for Livecode server there is a short tutorial with downloadable sample code about how to access Maria/MySQL databases from desktop or mobile apps using LiveCode server at https://www.hostm.com/tutorials/livecode/api-mariadb-mysql <https://www.hostm.com/tutorials/livecode/api-mariadb-mysql> 



> Am 23.08.2016 um 16:47 schrieb Earthednet-wp <prothero at earthednet.org>:
> 
> I put up a simple stack that might help you get started with php access to a MySQL db, perhaps helpful.
> http://es.earthednet.org/SoftwareForEducation
> Best,
> Bill
> 
> William Prothero
> http://es.earthednet.org
> 
>> On Aug 22, 2016, at 10:19 PM, Charles Warwick <charles at techstrategies.com.au> wrote:
>> 
>>> On 23/08/2016 2:27 pm, Charles Warwick wrote:
>>> Hi Scott,
>>> 
>>> Ok, there are a couple of issues there.
>>> 
>>> Using "198.01.234.54:1234" as tDatabaseAddress indicates you are using a hardcoded IPv4 address which can cause problems.
>>> 
>>> However there is a bigger issue there in that the database library in LC does not support IPv6.
>>> 
>>> This means that for iOS apps that you want to submit to the app store, you cannot directly connect to a remote database server using LC's built-in database library.
>> I should clarify that further... the database library does not support the use IPv6 addresses in a similar manner to what you are doing with the IPv4 address above.
>> 
>> However, looking back through the archives, Fraser mentioned that it should work if you use a hostname instead (e.g. database.mydomain.com).
>> 
>> If that is correct (I have not tested it), you should be able to just set up a DNS entry that resolves to the IP address you are using, and change tDatabaseAddress accordingly.
>> 
>> Regards,
>> 
>> Charles
>> 
>> 
>> _______________________________________________
>> 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
> 
> 
> _______________________________________________
> 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