Re: PHP+MYSQL unable to select database
| From: | Miles Thompson | Date: | Mon, 10 Dec 2001 10:56:58 +0000 |
| Subject: | Re: PHP+MYSQL unable to select database | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-77191@lists.php.net to get a copy of this message | ||
Have you checked the docs? Have you double-checked the username, password and permissions?
Have you added " or die(mysql_error())" to your database connection function?
If this site is remote, does your username/password have rights to access the database?
Good luck - Miles Thompson
At 11:58 AM 12/10/2001 +0100, josep wrote:
I can't select a database from a php script. I've set privileges in both the user and the data base tables and I've done FLUSH PRIVILEGES; WHY? JOSEP. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net