Do not put a space between "-p" and "cdgcatalog", i.e.
use "-pcdgcatalog".
/ Carsten
--
Carsten H. Pedersen
keeper and maintainer of the bitbybit.dk MySQL FAQ
http://www.bitbybit.dk/mysqlfaq
> -----Original Message-----
> From: Butch Evans [mailto:[EMAIL PROTECTED]]
> Sent: 14. august 2001 07:48
> To: Mysql List
> Subject: Permissions Problems
>
>
> Can anyone explain why this is happening?
>
>
> root@www:/# mysql -u dgadmin -h www.4cdg.com -p cdgcatalog
> Enter password:
> ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using
> password: YES)
>
>
> Here is the permissions table:
> mysql> select host,db,user from db where db like "cdgcatalog";
> +--------------+------------+----------+
> | host | db | user |
> +--------------+------------+----------+
> | www.4cdg.com | cdgcatalog | dgadmin |
> | www.4cdg.com | cdgcatalog | dgpublic |
> +--------------+------------+----------+
> 2 rows in set (0.00 sec)
>
>
> --
> Butch Evans
> http://www.ChristInVerse.com/
> http://www.HeIsComingSoon.com/ (in the works)
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
> <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php