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: FourthWorld, heatherlaine, Klaus, kevinmiller

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

database connect in iphone simulator

Post by fre » Sat Jan 22, 2011 11:01 am

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: 14194
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: database connect in iphone simulator

Post by Klaus » Sat Jan 22, 2011 12:29 pm

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 » Sat Jan 22, 2011 12:44 pm

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: 14194
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: database connect in iphone simulator

Post by Klaus » Sat Jan 22, 2011 1:04 pm

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 » Sat Jan 22, 2011 2:05 pm

Code: Select all

externals (like database connectivity) are still not supported on iOS.
is a csv file also an external ?

Klaus
Posts: 14194
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: database connect in iphone simulator

Post by Klaus » Sat Jan 22, 2011 2:46 pm

Hi Fred,

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


Best

Klaus

Post Reply