• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

MySQL : Access denied for mysqldump

 
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, i was providing password on command line. Never mind - I just got this working today by excecuting "flush privileges" after grant command.

- Manish
 
reply
    Bookmark Topic Watch Topic
  • New Topic