mySQL problem


#1

if anyone is good with PHP… what am I doing wrong?

"Creating tables…

Warning: mysql_connect(): Access denied for user ‘Chris’@‘localhost’ (using password: YES) in /home/chrisuk/public_html/WebLeague/install.php on line 7

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/chrisuk/public_html/WebLeague/install.php on line 8
Failed to connect to MySQL server"

This is when a code tries to access a SQL database.


#2

Well, By the looks of the error, you are using an incorrect username and password for the MySQL server.

And since you can’t access the database you are not able to select the database so PHP is telling you this in the second error. Basically saying for some reason I cannot use the database you have told me to select.


#3

Looks like you’re trying to install a third-party script :wink:

But yes, Ragster is right: your login credentials are incorrect.