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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

MySQL users in DB but missing from cPanel

Discussion in 'Database Discussions' 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:
    41,516
    Likes Received:
    1,616
    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.
     
Loading...

Share This Page