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

Problem with admin password

Discussion in 'Plesk for Linux - 8.x and Older' started by andreasbalzer, May 11, 2008.

  1. andreasbalzer

    andreasbalzer Guest

    I tried to change the admin password in plesk. My attempt to do that produced the following error:
    ERROR: PleskMainDBException
    Create ShortcutCreate Shortcut
    Up LevelUp Level
    MySQL query failed: Table 'mysql.servers' doesn't exist

    0: /usr/local/psa/admin/plib/common_func.php3:218
    db_query(string 'flush privileges')
    1: /usr/local/psa/admin/plib/cmd_server.php3:93
    ch_admin_pass(string '************', string '************')
    2: /usr/local/psa/admin/htdocs/server/ch_pass.php3:43

    When I try to open plesk now I get
    ERROR: PleskFatalException
    Unable to connect to database: saved admin password is incorrect.

    0: /usr/local/psa/admin/plib/common_func.php3:158
    psaerror(string 'Unable to connect to database: saved admin password is incorrect.')
    1: /usr/local/psa/admin/auto_prepend/auth.php3:87

    The command cat /etc/psa/.psa.shadow shows the old one. My questions: a) Can I go back to the old password? b) Can I go with the new password? c) What is easier to do at the moment?

    Please help me, this is urgent. :-/

  2. Satoriya

    Satoriya Guest

  3. LucasG

    LucasG Guest

    for solution the error: Table 'mysql.servers' doesn't exist in Plesk 10

    the solution is:

    [root@server ~]# mysql_fix_privilege_tables --user=admin --password=<admin passord> --verbose

    This script updates all the mysql privilege tables to be usable by
    the current version of MySQL

    i testing is all ok!