Re: [OOP] Class to handle PEAR::DB
| From: | Jason Wong | Date: | Thu, 18 Nov 2004 11:06:56 +0000 |
| Subject: | Re: [OOP] Class to handle PEAR::DB | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202401@lists.php.net to get a copy of this message | ||
On Thursday 18 November 2004 17:05, valerie17@telkom.net wrote:
> my problem is : everytime I execute this file in CLI mode I always got this
[...]
> Standard Message: DB Error: no database selected
> Standard Code: -14
> DBMS/User Message: SELECT * FROM country [nativecode=1046 ** No Database
> Selected]
> DBMS/Debug Message: SELECT * FROM country [nativecode=1046 ** No Database
> Selected]
>
> How come the message said I didn't select database ??
Does this work when executed via a webserver? If so, have you checked that you
have MySQL support compiled into your CLI php?
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
"For a moment, nothing happened. Then, after a second or
so, nothing continued to happen. "
*/