Re: [PHP] mysql error code - how to debug

2001-04-18 Thread Plutarck
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

[PHP] mysql error code - how to debug

2001-04-17 Thread pyz
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 xx MySQL Error: 0 () Session halted. What should I be looking for? Is this a user/password problem? Is this