MySQL Forums
Forum List  »  PHP

Re: Intermitten error "No Database Selected"
Posted by: Kai Voigt
Date: July 21, 2005 06:21AM

Hi.

"no database selected" simply means that you run a query without having selected a database before the query. This could happen because you didn't specify a database for your connection, or the database you specified didn't exist or you don't have access rights to that table.

What does your connection code look like? I.e. how do you connect from your PHP code?

Kai

--
Kai Voigt, Senior Instructor, MySQL AB
kai@mysql.com, www.mysql.com
Office: Kiel, Germany

Options: ReplyQuote


Subject
Written By
Posted
Re: Intermitten error "No Database Selected"
July 21, 2005 06:21AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.