Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

MySQL users in DB but missing from cPanel

Discussion in 'Database Discussion' started by dilios, Nov 7, 2017.

  1. dilios

    dilios Registered

    Mar 26, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    So I recently migrated all my clients to a new server and the db users got corrupted and has lost the passwords.

    So i had a backup of the mysql.user table and restored only the users with an underscore ( %_% )

    Now all the websites and their db connections are 100% working and restored HOWEVER
    Now when you log into cpanel to either change the pw or make changes to that mysql user it is not present in the cpanel list.

    here are some examples:

    This is all the users and the its hosts in the db

    And this is the list of users in the cpanel list

    As you can see hp_blog is missing as that was the only one that got corrupted or lost in the migration in which i manually restored

    Is their a way to rebuild that index?
    #1 dilios, Nov 7, 2017
    Last edited by a moderator: Nov 7, 2017
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    Does it help if you assign the missing database users to a cPanel account using "WHM >> Home » SQL Services » Database Map Tool"?

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice