| Author |
MySQL : Access denied for mysqldump
|
Manish Hatwalne
Ranch Hand
Joined: Sep 22, 2001
Posts: 2573
|
|
When I try to execute mysqldump on my server, I get following error - mysqldump: Got error: 1044: Access denied for user 'abc'@'localhost' to database 'xyz' when using LOCK TABLES I have already doen fllowing to grant all to the user "abc" - mysql> grant all on *.* to 'abc'@'localhost' identified by 'xxxx'; Query OK, 0 rows affected (0.26 sec) What is causing this problem and how can I fix it? - Manish
|
 |
Martin Simons
Ranch Hand
Joined: Mar 02, 2006
Posts: 196
|
|
First I have to ask, are you providing the password on the command line, since according to your grant statement the user has one. But more to the point, you should be asking this at the forums on www.mysql.org
|
 |
Manish Hatwalne
Ranch Hand
Joined: Sep 22, 2001
Posts: 2573
|
|
Yes, i was providing password on command line. Never mind - I just got this working today by excecuting "flush privileges" after grant command. - Manish
|
 |
 |
|
|
subject: MySQL : Access denied for mysqldump
|
|
|