Prev Previous Post   Next Post Next
  #1  
Old 14th February 2011, 00:06
Nolan Nolan is offline
Member
 
Join Date: Nov 2010
Posts: 83
Thanks: 2
Thanked 6 Times in 4 Posts
Default MySQL Error

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:


Code:
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:
PHP Code:
$this->linkId mysql_connect($this->dbHost$this->dbUser$this->dbPass); 
Here is the information line 72 calls for:
PHP Code:
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.

Last edited by Nolan; 14th February 2011 at 03:21. Reason: Forgot to provide database info.
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmin upgrade lishaw1968 Installation/Configuration 15 26th August 2010 16:23
mod_layout and php gd branov Installation/Configuration 8 2nd September 2009 16:51
Need help setting up domainpop with postfix kameelperdza Installation/Configuration 6 15th June 2009 08:49
dovecot problem sojic Server Operation 21 23rd March 2008 19:22
Apache trouble wont restart Domain coroption main3 Installation/Configuration 1 16th September 2006 13:09


All times are GMT +2. The time now is 23:26.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.