topthisfact
Paragon
Hey
I was wondering how do i fixed this?
http://easypromotion.wehostyour.info/
Error shows:
"Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'easyprom_GPT'@'localhost' (using password: YES) in /home/easyprom/public_html/includes/mysql.php on line 33
Database error: Link-ID == false, connect failed
MySQL Error: 0 ()
Session halted."
Here is the line of 33 & near it
var $Link_ID = 0; // Result of mysql_connect().
var $Query_ID = 0; // Result of most recent mysql_query().
var $Record = array(); // current mysql_fetch_array()-result.
var $Row; // current row number.
var $Errno = 0; // error state of query...
var $Error = "";
var $num_queries = 0;
function halt($msg) {
printf("</td></tr></table><b>Database error:</b> %s<br>\n", $msg);
printf("<b>MySQL Error</b>: %s (%s)<br>\n",
$this->Errno,
$this->Error);
die("Session halted.");
}
function connect($thehost, $thedb, $theuser, $thepwd) {
$this->Host=$thehost;
$this->Database=$thedb;
$this->User=$theuser;
$this->Password=$thepwd;
if ( 0 == $this->Link_ID ) {
$this->Link_ID=mysql_connect($this->Host, $this->User, $this->Password);
if (!$this->Link_ID) {
$this->halt("Link-ID == true, connect failed");
I was wondering how do i fixed this?
http://easypromotion.wehostyour.info/
Error shows:
"Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'easyprom_GPT'@'localhost' (using password: YES) in /home/easyprom/public_html/includes/mysql.php on line 33
Database error: Link-ID == false, connect failed
MySQL Error: 0 ()
Session halted."
Here is the line of 33 & near it
var $Link_ID = 0; // Result of mysql_connect().
var $Query_ID = 0; // Result of most recent mysql_query().
var $Record = array(); // current mysql_fetch_array()-result.
var $Row; // current row number.
var $Errno = 0; // error state of query...
var $Error = "";
var $num_queries = 0;
function halt($msg) {
printf("</td></tr></table><b>Database error:</b> %s<br>\n", $msg);
printf("<b>MySQL Error</b>: %s (%s)<br>\n",
$this->Errno,
$this->Error);
die("Session halted.");
}
function connect($thehost, $thedb, $theuser, $thepwd) {
$this->Host=$thehost;
$this->Database=$thedb;
$this->User=$theuser;
$this->Password=$thepwd;
if ( 0 == $this->Link_ID ) {
$this->Link_ID=mysql_connect($this->Host, $this->User, $this->Password);
if (!$this->Link_ID) {
$this->halt("Link-ID == true, connect failed");







