Re: [OOP] Class to handle PEAR::DB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 18 November 2004 17:05, valerie17@xxxxxxxxxx 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. "
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux