Hello, I was trying to install ossim in a debian box, I followed the steps of the "Inst all guide for ossim on Debian GUN/linux" on the official web. When I finished the 4.2 "apt-get install ossim-framework" and "dpkg-reconfigure php4-cli php4-domxml php4-gd php4-mysql php4-xslt", I accessed the framework [
http://yourhost/ossim/ ], and there was the warning:
Warning : mysql_connect() [function.mysql-connect]: Access denied for user 'root' 'localhost'">'root39; 'localhost' (using password: YES) in /usr/share/php/adodb/drivers/adodb-
mysql.inc.php on line 358
The content of /usr/share/php/adodb/drivers/adodb-mysql.inc.php is as follow :
function _connect($argHostname, $argUsername, $argPassword, $argDatabasename) { if (!empty($this->port)) $argHostname .= ":".$this->port; if (ADODB_PHPVER >= 0x4300) $this->_connectionID = mysql_connect($argHostname,$argUsername,$argPassword,
$this->forceNewConnect,$this->clientFlags); 358 else if (ADODB_PHPVER >= 0x4200) $this->_connectionID = mysql_connect($argHostname,$argUsername,$argPassword,
$this->forceNewConnect); else $this->_connectionID = mysql_connect($argHostname,$argUsername,$argPassword); if ($this->_connectionID === false) return false; if ($argDatabasename) return $this->SelectDB($argDatabasename);
return true; }
Please tell me what should I do, thanks a lot
|