MySQL users in DB but missing from cPanel

dilios

Registered
Mar 26, 2012
2
0
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?
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
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.