The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

unmanaged MySQL database user

Discussion in 'Database Discussions' started by Sergi, Aug 18, 2015.

  1. Sergi

    Sergi Registered

    Joined:
    Aug 18, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ireland
    cPanel Access Level:
    Root Administrator
    I've experienced an error when removing an account in my staging server. Now when I try to restore account from backup or from production server i'm getting this error.

    Failed to create the account: The system could not create the user “xxx” because it conflicts with an unmanaged MySQL database user.

    I followed instructions I've found in this link: blog.triantech.com/cpanel-account-restore-issue-a-mysql-user-with-the-name-already-exists/

    User seems to be removed, but I still have the same issue. Any suggestion how to solve it?
     
    #1 Sergi, Aug 18, 2015
    Last edited by a moderator: Aug 18, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Check to see if any additional entries for the username are found within the /var/cpanel/databases directory. EX:

    Code:
    grep user /var/cpanel/databases/*
    Thank you.
     
  3. Sergi

    Sergi Registered

    Joined:
    Aug 18, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ireland
    cPanel Access Level:
    Root Administrator
    Ok, I've got a list in which this user doesn't appear. But I can see this user in user table in "mysql" database using root phpmyadmin. Any suggestion?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you elaborate on your last response? Were you able to find entries for this username in the files within the /var/cpanel/databases directory?

    Thank you.
     
Loading...

Share This Page