Re: DROP database in PEAR::DB
| From: | Federico Petronio | Date: | Thu, 16 Mar 2006 16:43:27 +0000 |
| Subject: | Re: DROP database in PEAR::DB | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23312@lists.php.net to get a copy of this message | ||
Bonjour,
I founf the I wrote the database name between ', and it looks that that
was the problem.
Thank you for your answer!
bertrand Gugger wrote:
> Bonjour,
> Federico Petronio wrote:
>
>> Hello,
>>
>> this time I'm looking for a way to DROP a database from PHP using
>> PEAR::DB, is that possible? I tried using the "DROP DATABASE <name>"
>> query but it doesn't worked.
>>
>> Thanks again!
>>
>> Federico Petronio
>>
>>
>>
> var_dump() the error you get back.
> Is the user running php (e.g. apache) allowed to manage databases ?