Changed Mysql root password, ISPConfig error cant log in

Discussion in 'General' started by IKShadow, May 17, 2007.

  1. IKShadow

    IKShadow New Member

    I forgot mysql root password :eek: so i changed it with this procedure:
    http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html

    When i try to log in to ISPConfig i recevie this error:

    Code:
    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php on line 77
    
    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php on line 77
    
    Please help me out.
     
  2. Leszek

    Leszek Member

    You also have to change the MySQL root password in ISPConfig's configuration file /home/admispconfig/ispconfig/lib/config.inc.php.
    Find this line:

    Code:
    $go_info["server"]["db_password"] = "old_mysql_password";
    
    and change it to the new password.
     
  3. IKShadow

    IKShadow New Member

    Thanks, problem solved
     

Share This Page