All pastes #15649 Raw Edit

Something

public text v1 · immutable
#15649 ·published 2005-06-23 15:48 UTC
rendered paste body
mysql_connect($host,$username,$password) or die('Could not connect to MySQL');

//Why is this yielding the error below when my users database has the correct username and password, //and I'm also using the right login info

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'Phish'@'localhost' (using password: YES) in c:\wwwroot\processnews.php on line 12
Could not connect to MySQL