[PHP-DB] accessing mysql on non default port - windows

2005-02-05 Thread Jeff
Hi. I need to access mysql from windows to *nix on both the default port of 3306 and a secondary port of 3307. php.ini states that win32 will only pay attention to MYSQL_PORT. Is there a way to change the value of that constant without compiling my own version of php on win32. I don't mind

Re: [PHP-DB] accessing mysql on non default port - windows

2005-02-05 Thread Jason Wong
On Sunday 06 February 2005 04:58, Jeff wrote: Hi. I need to access mysql from windows to *nix on both the default port of 3306 and a secondary port of 3307. php.ini states that win32 will only pay attention to MYSQL_PORT. Just specify the port you want to use in mysql_connect(). Is there

Re: [PHP-DB] accessing mysql on non default port - windows

2005-02-05 Thread Jeff
Jason Wong wrote: On Sunday 06 February 2005 04:58, Jeff wrote: Hi. I need to access mysql from windows to *nix on both the default port of 3306 and a secondary port of 3307. php.ini states that win32 will only pay attention to MYSQL_PORT. Just specify the port you want to use in

Re: [PHP-DB] accessing mysql on non default port - windows

2005-02-05 Thread Jason Wong
On Sunday 06 February 2005 07:59, Jeff wrote: Thats what i thought as well, but each time i attempt to use the port in mysql_connect, i.e. 'localhost:3307' or if i change the mysql.default_port = 3307 and just use 'localhost' in the server argument, i get OK, but my understanding was that

Re: [PHP-DB] accessing mysql on non default port - windows

2005-02-05 Thread Jeff
Jason Wong wrote: On Sunday 06 February 2005 07:59, Jeff wrote: OK, but my understanding was that your mysql server is on *nix, and your problem was accessing it from a windows client. So you should not be using localhost? I just did that for a test to remove the remote connection from the

Re: [PHP-DB] accessing mysql on non default port - windows

2005-02-05 Thread Jeff
thats no good. man if its something simple, i'm not seeing it. well it was something simple...and now i see it. old_passwords. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] accessing mysql on non default port - windows

2005-02-05 Thread Lester Caine
Jeff wrote: thats no good. man if its something simple, i'm not seeing it. well it was something simple...and now i see it. old_passwords. Don't you just love informative error messages ;) -- Lester Caine - L.S.Caine Electronic Services -- PHP Database Mailing List