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

    Joined:
    Mar 26, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    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
    i.imgur.com/yXnL9dG.jpg

    And this is the list of users in the cpanel list
    i.imgur.com/BcJvWe3.jpg

    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,855
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    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...
Loading...

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