note 18631 deleted from function.mysql-connect by betz
| From: | betz@php.net | Date: | Sun, 02 Oct 2005 16:58:28 +0000 |
| Subject: | note 18631 deleted from function.mysql-connect by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-96190@lists.php.net to get a copy of this message | ||
Note Submitter: flemming at webduo dot dk
----
If using an mysql server on a different port like 3307 instead of 3306, or running multiple mysql
serveres on one machine. Be advised that using localhost as host in mysql_connect for instance
localhost:3307 will override the port and use the default port 3306. Use the computer host name or
domain instead. Even IP is better than localhost. But remember to add the user with the correct host
in your mysql database. It's not a bug in the mysql module, but a bug in the mysql client.
Mysql unix client have the same flaw.