note 18631 added to function.mysql-connect

From: Date: Wed, 30 Jan 2002 01:25:24 +0000
Subject: note 18631 added to function.mysql-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-25993@lists.php.net to get a copy of this message
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. -- http://www.php.net/manual/en/function.mysql-connect.php http://master.php.net/manage/user-notes.php?action=edit+18631 http://master.php.net/manage/user-notes.php?action=delete+18631 http://master.php.net/manage/user-notes.php?action=reject+18631

« previous php.notes (#25993) next »