Dave McNicholl wrote:

> Hi,
>         I have had a mysql database for a few years now. It is used for auth
> against apache using mod_auth_mysql. My apache conf has the username and
> password in it. These have not changed for some time.
>         Now when I use mysqldump -u username -p mysql and supply the correct
> password I get.
> mysqldump: Got error: 1045: Access denied for user: 'username@localhost'
> (Using password: YES)
>         It is the same for mysql command line.

Have you tried specifiying the host?
mysqldump dbname -u username -pPassword -h your.host.name

--Bill



---------------------------------------------------------------------
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

Reply via email to