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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...