Skip to main content

phpMyAdmin login issue

Comments

9 comments

  • ZenHostingTravis
    Hi @greektranslator, In regards to your second question, if you're the administrator of your system, in Tweak Settings, you have to allow root (assuming you have root access) to be able to access a cPanel user account. This is the setting: Accounts that can access a cPanel user account. Hope that helps.
    0
  • greektranslator
    Thanks, got it. For some reason the default had changed.
    0
  • cPRex Jurassic Moderator
    I'm glad you were able to get both those issues resolved!
    0
  • ModServ
    @cPRex I've this issue happened to me 2 days ago and my setting is on Root, Account-Owner, and cPanel User default
    0
  • cPRex Jurassic Moderator
    @ModServ - have you tried changing the password for the user to see if that will also resolve your issue? If not, do you see anything inside /usr/local/cpanel/logs/error_log that may give you more details about the root of the problem?
    0
  • ModServ
    Actually that fixed it, you know the reason behind that?
    0
  • cPRex Jurassic Moderator
    @ModServ - I'm glad that's all it was. When this happens, it just indicates that the cPanel user password and PHPMyAdmin access for that particular user was out of sync. It's hard to say exactly why this happens, but one option would be the MySQL password getting reset from command line, or changes to the server's hostname that didn't properly update all the grants. The good thing, is that in most cases a simple password reset like what you performed does take care of the issue.
    0
  • ModServ
    @ModServ - I'm glad that's all it was. When this happens, it just indicates that the cPanel user password and PHPMyAdmin access for that particular user was out of sync. It's hard to say exactly why this happens, but one option would be the MySQL password getting reset from command line, or changes to the server's hostname that didn't properly update all the grants. The good thing, is that in most cases a simple password reset like what you performed does take care of the issue.

    I've something in mind, I used a bash script to batch change password for all websites, maybe because of that? and if so, how can I change password for all accounts at one time? I've more than 200 websites on the same server.
    0
  • cPRex Jurassic Moderator
    It's possible that is related to the issue. I think it's key to make the distinction between *you* resetting the password for them as the admin, or the user resetting their own password the next time they access their cPanel account. For the latter option, we have the WHM >> Force Password Change tool, which will allow you to force all users to reset their password the next time they try and access their cPanel account, so you don't have to be involved in that process at all. If you want to manually change the cPanel user password as the server admin for multiple accounts, I'd recommend looking into creating a custom script with this API:
    0

Please sign in to leave a comment.