database connect in iphone simulator

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
fre
Posts: 41
Joined: Fri Nov 12, 2010 7:22 pm

database connect in iphone simulator

Post by fre »

hallo,

is there a difference between livecode and the iphone simulator connecting to a mysql database ?

in livecode everything works fine, but in the simulator the database connect seems not to work.
i use this statement for connecting:

Code: Select all

put revOpenDatabase("MySQL", tDatabaseAddress, tDatabaseName, tDatabaseUser, tDatabasePassword) into tResult
the connection id (here: tResult) in the simulator is not available. i tryed to write the id to a text field for debugging, but the field is empty:

Code: Select all

put tResult into field test

does anybody had that problem before?

best
fred.
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: database connect in iphone simulator

Post by Klaus »

Hi fre,

externals (like database connectivity) are still not supported on iOS.
As can be read in the iOS release notes!


Best

Klaus
fre
Posts: 41
Joined: Fri Nov 12, 2010 7:22 pm

Re: database connect in iphone simulator

Post by fre »

thank you for the answer klaus,
i am very new to this and also to mac and iOS. so please forgive me if i ask stupid questions.
does that mean, i can not connect to a database with an iphone ?

best regards
fred.
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: database connect in iphone simulator

Post by Klaus »

Hi Fred,
fre wrote:does that mean, i can not connect to a database with an iphone ?
Yes.


Best

Klaus
fre
Posts: 41
Joined: Fri Nov 12, 2010 7:22 pm

Re: database connect in iphone simulator

Post by fre »

Code: Select all

externals (like database connectivity) are still not supported on iOS.
is a csv file also an external ?
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: database connect in iphone simulator

Post by Klaus »

Hi Fred,

a CSV file is just a text file, and you sure can handle this with LiveCode on iOS.


Best

Klaus
Post Reply