Jump to content

Recommended Posts

Posted

When I try to open mysql.php I get an error:

 

Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/redx/public_html/cs2d server/mysql.php on line 5

 

Fatal error: Access denied for user 'root'@'localhost' (using password: YES) in /home/redx/public_html/cs2d server/mysql.php on line 5

The funny thing is that this happens with these files only. Everything else opens without any problems.

I can't even open the 'cs2d server' folder, the same error message appears.

EDIT: Here's the link for downloading the files. Please read it because I can't figure out this.

http://unrealsoftware.de/files_show.php?file=964

Posted

Your username for MySQL isn't root. Use your cPanel username for the username, and your cPanel password for the password. ;)

Posted

There might be a coding issue with your MySQL query. Could you post what query you are trying to run?

 

Try running your query in phpMyAdmin. The query will probably look something like:

 

SELECT * FROM test_table WHERE id=123

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...