note 47950 rejected from function.mysql-connect by betz
| From: | betz@php.net | Date: | Tue, 07 Dec 2004 06:32:59 +0000 |
| Subject: | note 47950 rejected from function.mysql-connect by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-81472@lists.php.net to get a copy of this message | ||
Note Submitter: S dot Benner at lancaster dot ac dot uk
----
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.