Re: Connecting to mysql database using MAMP

2006-10-13 Thread John Craig

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)





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Connecting to mysql database using MAMP

2006-10-13 Thread Pierre Del.




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)


sorry, it does not work, still looking at standard localhost, not  
taking the 8889 into account


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Connecting to mysql database using MAMP

2006-10-13 Thread Trevor DeVore

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
[EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Connecting to mysql database using MAMP

2006-10-13 Thread Pierre Del.
The problem is that MAMP MySql server seems not to work at port 3306  
(I don't know why)


Le 13 oct. 06 à 14:07, John Craig a écrit :

I noticed the same thing yesterday connecting to MySQL and  
specifying a port number using  host:port
It works fine by ommiting the port and using host name only  
(providing you use the default port 3306)


JC



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?


Thanks for your help

Pierre Delain

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Connecting to mysql database using MAMP

2006-10-13 Thread John Craig
I noticed the same thing yesterday connecting to MySQL and specifying a 
port number using  host:port
It works fine by ommiting the port and using host name only (providing 
you use the default port 3306)


JC



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?


Thanks for your help

Pierre Delain

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Connecting to mysql database using MAMP

2006-10-13 Thread Pierre Del.

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?


Thanks for your help

Pierre Delain

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution