Connecting to mysql database using MAMP

John Craig jc at spl21.net
Fri Oct 13 10:08:07 CDT 2006


That worked for me on 2.7.4 (Windows) - thanks.

Trevor DeVore wrote:

> 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)
>





More information about the use-livecode mailing list