Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Feb 2002
    Posts
    74

    Default Transfers - mysql priveleges incorrect

    Hello,

    We are having some troubles transferring a site between servers. The servers are both running 4.9 build 60 . I get the following error in the account transfer script:

    Restoring mysql privs....ERROR 1062 at line 1: Duplicate entry 'localhost-utteracc\_utterone-utteracc' for key 1
    ERROR 1062 at line 2: Duplicate entry 'localhost-utteracc\_utterone-utteracc_gordon' for key 1
    ERROR 1062 at line 3: Duplicate entry 'localhost-utteracc\_uttertwo-utteracc' for key 1
    ERROR 1062 at line 4: Duplicate entry 'localhost-utteracc\_uttertwo-utteracc_linkmas' for key 1
    ERROR 1062 at line 5: Duplicate entry 'localhost-utteracc\_test-utteracc' for key 1
    ERROR 1062 at line 6: Duplicate entry 'localhost-utteracc\_test-utteracc_tester' for key 1
    ERROR 1062 at line 7: Duplicate entry 'localhost-utteracc\_utterone-utteracc_1' for key 1
    ERROR 1062 at line 8: Duplicate entry 'localhost-utteracc\_uttertwo-utteracc_2' for key 1
    ERROR 1062 at line 9: Duplicate entry 'localhost-utteracc' for key 1

    So... then I take and delete the account entirely off of the new server. (Which should get rid of the 'duplicate entry' error). Check in WHM -& MySQL -& Change A User or Database password. All of the users are still listed (utteracc1, uteracc2)!

    Anyway, no matter what I do, I am always getting this error when trying to transfer the mysql priv's. When I go to the site, all the files are fine, and the databases look good... but the site gets a bunch of mysql errors for invalid username all over the place.

    If anyone has any suggestions for me, I'd appreciate it!

  2. #2
    Member h2oski's Avatar
    Join Date
    Dec 2001
    Posts
    71

    Default

    I can't help you with the transfer script error, but as far as the invalid username once the site is transfered.
    go into the accounts cpanel, remove privileges for that user, on that database.

    then grant privileges for the user on the database.

    no need to delete any databases or users, just 'reboot' privileges.

  3. #3
    Member
    Join Date
    Sep 2002
    Posts
    580

    Default

    Re-add users to there databases and it is fixed.

    You can also transfer databases using scp

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. 11.25 - mysql databases used - incorrect
    By 4u123 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-29-2009, 02:37 PM
  2. Account Transfers not restoring all MySQL tables .....
    By methos in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 03-24-2008, 10:04 PM
  3. mysql bug during transfers
    By tedivm in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-29-2008, 10:40 AM
  4. Two MySQL Issues: Priveleges and InnoDB
    By 00 Agent Kid in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-29-2005, 06:52 PM
  5. MySQL and site transfers
    By mpope2 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-25-2002, 07:46 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube