Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member Astral God's Avatar
    Join Date
    Sep 2010
    Location
    127.0.0.1
    Posts
    66
    cPanel/Enkompass Access Level

    Root Administrator

    Question Error on "mysqldump'

    Hi.

    When i try to dump all my bases, i have this error:

    Code:
    mysqldump: Got error: 1044: Access denied for user 'root'@'localhost' to database 'information_schema' when using LOCK TABLES

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Error on "mysqldump'

    If you google the error online, you'll find discussions of it such as the following:

    mysqldump: Got error: 1044: Access denied for user ‘root’@’localhost’ to database ‘information_schema’ when using LOCK TABLES

    This is not a cPanel-related issue but due to the MySQL user not having LOCK TABLES rights set on the database table.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member manokiss's Avatar
    Join Date
    Mar 2002
    Posts
    536

    Default Re: Error on "mysqldump'

    Hi Tristan, in fact this looks like a cpanel issue in the mysql version update process.....we have upgraded from 5.0 to 5.1 recentrly and we have a mysql backup script doing mysqldump every day, did start erroring with that message....wasnt happening with 5.0. Looks like after the update root do not have the right to lock tables. so basically you have turn on unprivileged mode grant to root the permission and then turn off unprivileged mode. Wondering if you have any fix for this, dealing with mysql permissions by hand is a bit risky. Thanx!

Similar Threads & Tags
Similar threads

  1. Mysqldump error in VPS
    By jolly in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-15-2010, 12:13 PM
  2. mysqldump+error:1033+Table xyz was created with a different version of MySQL.
    By madan.cpanelnet in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-01-2007, 08:28 PM
  3. Replies: 5
    Last Post: 09-15-2006, 01:31 AM
  4. Error when running mysqldump
    By Jeff75 in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 12-31-2004, 10:33 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube