PDA

View Full Version : MySQL_connect error


WEForums
05-06-2003, 11:03 PM
Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'root@localhost' (Using password: YES) in /home2/wef/public_html/forums/admin/db_mysql.php on line 40


Line 40 is:

$this->link_id=mysql_connect($this->server,$this->user,$this->password);

...what's strange is everything was fine, and all of the sudden this occurred. No one touched any files, either, which seems weird.

WEForums
05-06-2003, 11:19 PM
Okay, sorry for the double post.

It fixed itself. WTF? How can this be avoided or what would cause this when nothing has been altered?

EDIT: Hmm...involved a MySQL password...? Guess that was it.

Neo
05-07-2003, 03:54 PM
Its a connection error (IE username, password premissions) nothing to do with the code.