Beginner mySQL question

wxdqz

New Member
I have mySQL and PHP4 installed on a Windows 98' box. Here's the script I'm running to connect:

<?
$connection=mysql_connect("localhost","ryan","thevault")
or die("Couldn't make connection.");
?>

but I keep getting this error:

Warning: MySQL Connection Failed: Access denied for user: 'ryan@localhost' (Using password: YES)

I'm clearly using an invalid name/password, but this is the name/password combo in the mySQL ini file. Anyone know what I'm doing wrong?
 
Back
Top