Lost admin password after recovery I'm no longer admin

Discussion in 'General' started by blacklotuss, Jun 9, 2017.

  1. blacklotuss

    blacklotuss New Member

    Hey there,
    recently I have forgotten my admin password so I retrieved it by using the password reset option.
    I have successfully regained my password but now I'm no longer an admin. I'm kind of stuck as to why this happened and more importantly how do I get admin privileges back?

    Best,
    Blacklotuss
     
  2. Tuumke

    Tuumke Active Member

    Can you access mysql?
    Code:
    mysql db_ispconfig -p
    Enter password: <type in the mysql root password>
    UPDATE sys_user SET passwort = md5('myNewPassword') WHERE username = 'admin';
    
    or if your mysql root can access from command line without password:
    Code:
    mysql db_ispconfig
    UPDATE sys_user SET passwort = md5('myNewPassword') WHERE username = 'admin';
     

Share This Page