Re: Bug #13923 Updated: The PEAR error object returned by DB::connect is not recognized as such
| From: | Martin Jansen | Date: | Mon, 05 Nov 2001 07:32:44 +0000 |
| Subject: | Re: Bug #13923 Updated: The PEAR error object returned by DB::connect is not recognized as such | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-2553@lists.php.net to get a copy of this message | ||
On 5 Nov 2001 03:06:37 -0000, cox@php.net wrote:
>Seems that MySQL always let you connect with any user (even if it
>doesn't exist) when you don't suply a password, and only throw the
>no permissions error when you want to access the data (ie. doing a
>query). It's a MySQL behaviour, sorry can't do anything on that.
Uhm?
martin@urmel:~ > mysql -u foobar
ERROR 1045: Access denied for user: 'foobar@localhost' (Using password: NO)
martin@urmel:~ >
- Martin