Hi, I had to reinstall my OS because of a failed upgrade to Debian 6.
I'm back on Debian 5 again, and I just dragged the contents of my old database folder (/var/lib/mysql) into the new database folder, and I changed the root password back to what it was on the old server. However, I'm getting this error:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ispconfig'@'localhost' (using password: YES) in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 72
Here is line 72:
$this->linkId = mysql_connect($this->dbHost, $this->dbUser, $this->dbPass);
Here is the information line 72 calls for:
private $dbHost = ''; // hostname of the MySQL server
private $dbName = ''; // logical database name on that server
private $dbUser = ''; // database authorized user
private $dbPass = ''; // user's password
private $dbCharset = ''; // what charset comes and goes to mysql: utf8 / latin1
private $linkId = 0; // last result of mysql_connect()
private $queryId = 0; // last result of mysql_query()
private $record = array(); // last record fetched
private $autoCommit = 1; // Autocommit Transactions
private $currentRow; // current row number
private $errorNumber = 0; // last error number
public $errorMessage = ''; // last error message
private $errorLocation = ''; // last error location
public $show_error_messages = false;
I'm not sure if the code is supposed to be ' ' or not, I haven't ever looked on a regular installation.
I tried filling in my database information in those fields but it still didn't work.