specifying a custom port for a MySQL database connection
Trevor DeVore
lists at mangomultimedia.com
Wed Nov 15 16:46:24 EST 2006
On Nov 15, 2006, at 1:20 PM, Chris Sheffield wrote:
> Hi all,
>
> I'm having a problem. Using the revOpenDatabase function, the docs
> say that you can specify a port number by specifying the host,
> followed by a colon, followed by the port number. So something like
> "localhost:3306". Is this correct? Because I've tried it and I get
> an error "Unknown MySQL server host 'localhost:3306' (1)".
>
> Has anyone used this and made it work? I need to figure out a
> solution for this asap.
Docs are incorrect. The port is the 6th parameter. This is logged
under 3662:
http://support.runrev.com/bugdatabase/show_bug.cgi?id=3662
--
Trevor DeVore
Blue Mango Learning Systems - www.bluemangolearning.com
trevor at bluemangolearning.com
More information about the use-livecode
mailing list