using mySQL on a web-based server

Mark Stuart mfstuart at cox.net
Mon Feb 28 19:17:44 EST 2011


on Mon Feb 28 17:29:46 CST 2011, tkuypers at telenet.be wrote: 
>>
The mySQL is using its default port (3306), and everything is working ok.
Except with some of my bigger companies, who closed almost everything on
their firewall, including (of course) port 3306 :-(
<<

Try this:
get revOpenDatabase("mysql","host:80","MyDatabase","username","password")

Hi Ton,
Looking at the Documentation, you can define the host port number in the
revOpenDatabase command.
You could hard code the port number in the code or use a variable that is
read from the application settings/preferences.

HTH,
Mark Stuart





More information about the Use-livecode mailing list