Connecting to mysql database using MAMP
Trevor DeVore
lists at mangomultimedia.com
Fri Oct 13 10:01:32 EDT 2006
On Oct 13, 2006, at 3:41 AM, Pierre Del. wrote:
> Hi,
> I have downloaded MAMP (local server for Mac, with Apache, Mysql
> and PHP). It works fine on port 8889. But when I try to connect Rev
> to it using get revOpenDataBase("MySQL", "localhost:8889",
> "MyDataBase", "root", "root"), I always get the error message :
> Unknown MySQL server host 'localhost:8889' . Am I using a bad
> syntax? Or is there some kind of incompatibility?
Documentation error. Pass the port number in as parameter 6. useSSL
should be parameter 7. Try this:
get revOpenDataBase("MySQL", "localhost", "MyDataBase", "root",
"root", 8889)
--
Trevor DeVore
Blue Mango Learning Systems - www.bluemangolearning.com
trevor at bluemangolearning.com
More information about the use-livecode
mailing list