1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Resetting Admin password

Discussion in 'Plesk for Windows - 8.x and Older' started by chartman, Feb 7, 2006.

  1. chartman

    chartman Basic Pleskian

    23
    57%
    Joined:
    Feb 24, 2005
    Messages:
    28
    Likes Received:
    0
    Not sure what happened, but I can't login to the Plesk administrative panel. Is there anyway to reset the admin password used to access the control panel?

    Appreciate any ideas!
     
  2. OlegB

    OlegB Guest

    0
     
    You can reset admin password using Plesk tool:

    "%plesk_bin%\plesksrvclient" -set new_pass true
    new_pass is your new password that you want to set up
     
  3. chartman

    chartman Basic Pleskian

    23
    57%
    Joined:
    Feb 24, 2005
    Messages:
    28
    Likes Received:
    0
    Thanks for the file pointer. I went and ran the file and get the following error message when trying to connect.

    Unable to connect to database: saved admin password is incorrect. 0: C:\Program Files\SWsoft\Plesk\admin\auto_prepend\auth.php3:56 psaerror(string "Unable to connect to database: saved admin password is incorrect.")

    When I run the file plesksrvclient.exe it also tells me it cannot connect to MySQL database.

    Any thoughts?
     
  4. jbuts

    jbuts Guest

    0
     
  5. xandih

    xandih Guest

    0
     
    1. Go to my.ini
    2. add the line
    skip-grant-tables=1

    3. stop mysql.
    4. go to cmd
    5. go to C:\Program Files\Swsoft\Plesk\MySQL\bin
    6. type the line
    mysqld-nt.exe

    it will stop the active window of dos

    7. open a new window of CMD
    8. go to MySQL\bin again
    9. type
    mysql -u admin -P8306
    (if you cannot enter with your admin user, try with root user)
    10. after login type
    use mysql;
    select * from users;

    now you can update the pass of the user admin.

    11. quit mysql
    12. stop mysql again
    13. delete the skip-grant-tables from my.ini
    14. start it again normally and try to loggin.

    :D
     
Loading...