note 8637 added to mysql_connect
| From: | mudra at informatik dot uni-kl dot de | Date: | Thu, 21 Sep 2000 23:11:29 +0000 |
| Subject: | note 8637 added to mysql_connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5318@lists.php.net to get a copy of this message | ||
Also, I created a database user with password for accessing the MySQL server through PHP. When
configuring MySQL to 'skip-networking' (only useful when PHP/Apache runs on the same
machine like the DB), then it seems not to be possible to make an successful
mysql_connect("localhost", "user", "pw");
I'm only able to get a connect with a simple mysql_connect()-call.
When enabling networking for MySQL, I've to give the host/user/pw. I havn't found a way to
diable networking and using the DB with user/pw. This is odd ...
http://www.php.net/manual/de/function.mysql-connect.php