connecting to mysql

Hakan at Exformedia.se Hakan at Exformedia.se
Sun Sep 30 12:41:53 EDT 2012


Most web hosting companies have one or more MySQL-eneabled offerings, but only a few of them allow you to connect remotely to their database, and most doesn't allow you to add users. I.e. all users will run as the same user. What you need is, as suggested before, to have some CGI-script written in a server language (if you have MySQL that language is probable PHP.)

So you connect from you app to the server scripts which in turn connects with the database.

:-Håkan

PS in the lesson you have a comment before the setup that reads: 
 -- set up the connection parameters - edit these to suit your database

29 sep 2012 kl. 17:13 skrev Mark Smith:

> Mark Schonewille-3 wrote
>> What made you think that you could use the RunRev server to test your own
>> MySQL scripts? Have you got any documentation from RunRev about this?
> 
> Hi Mark, I think the part that confused me was the line "RunRev has set up a
> sample database which these scripts will use". Thinking about this, I think
> what they meant is that they setup a sample database to test these scripts
> but... to use them yourself you will need to setup your own server" or
> something like that. I thought I could just copy and paste the scripts to
> test them.
> 
> That being said, I've never setup my computer as a server on the internet.
> Is this something I can expect to fairly easily do through my web host?
> 
> Thanks
> 
> -- Mark
> 
> 
> 
> 
> --
> View this message in context: http://runtime-revolution.278305.n4.nabble.com/connecting-to-mysql-tp4655547p4655552.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> _______________________________________________
> 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