Re: mysql error code - how to debug

From: Date: Wed, 18 Apr 2001 12:02:13 +0000
Subject: Re: mysql error code - how to debug
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-49191@lists.php.net to get a copy of this message
Ensure your database name as listed in either mysql_select_db or mysql_db_query is valid. After that, it's probably a GRANT problem. Make sure the username/password pair is correct, first of all, and check the privileges of that user. My guess is that either the DB name is incorrect, or the user does not have access to that database. -- Plutarck Should be working on something... ...but forgot what it was. <pyz@panix.com> wrote in message news:200104180224.WAA26248@panix2.panix.com... > Greetings, > > This is a mysql question, (but I'm using php with it). > > Most everything is working correctly; however, when > I hit one button I get: > Database error: cannot use database xxxxxx > MySQL Error: 0 () > Session halted. > > What should I be looking for? Is this a user/password > problem? Is this a GRANT problem? > > Any help here would be appreciated. > > Thanks! > > > > > Max Pyziur BRAMA - Gateway Ukraine > pyz@brama.com > http://www.brama.com/ > > -- > 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 >

« previous php.general (#49191) next »