note 47950 added to function.mysql-connect
| From: | S dot Benner at lancaster dot ac dot uk | Date: | Mon, 06 Dec 2004 22:40:55 +0000 |
| Subject: | note 47950 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-81459@lists.php.net to get a copy of this message | ||
If you're having difficulty getting mysql_connect() to return anything in PHP5, check the value
of sql.safe_mode in your php.ini file; if this is set on, all user/password info passed to the
mysql_connect() function is ignored and an attempt is made to connect using a default SYSTEM user
instead. When this fails, the function fails to return.
----
Manual Page -- http://www.php.net/manual/en/function.mysql-connect.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+47950
Delete -- http://master.php.net/manage/user-notes.php?action=delete+47950&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47950&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47950&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47950&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47950&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47950&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+47950&report=yes
Search -- http://master.php.net/manage/user-notes.php