Re: Bug #13923 Updated: The PEAR error object returned by DB::connect is not recognized as such
| From: | Tomas V.V.Cox | Date: | Mon, 05 Nov 2001 13:12:04 +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-2556@lists.php.net to get a copy of this message | ||
On Monday 05 November 2001 08:32, Martin Jansen wrote:
> 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:~ >
>
$ mysql -ufoobar -Dpear
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8 to server version: 3.23.40
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
Depends on the configuration of your system.
Tomas V.V.Cox