MySQL

Status
Not open for further replies.

Kopless

New Member
Messages
4
Reaction score
0
Points
0
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'revenant'@'localhost' (using password: NO) in /home/revenant/public_html/connect.php on line 6
Can't connect to the MySQL server. Please contact the webmaster.

What Do i Do ?

Help Will Be Appreciated!
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
Please make a new MySQL user and database in cPanel's MySQL databases section. You'll also have to link the user and database to be able to use it.

-Luke.
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
Login to cPanel at http://fallendarkness.exofire.net:2082/ with your username and password. If you search down the page, you'll find a link called MySQL Databases, click it. On the resulting page, there's a section at the very top to make a new database. Type a name (e.g. test) and click Create Database. Click the go back link to go back to the MySQL page.

Now scroll down a little further and there's a section to make a new MySQL user. Type a name (e.g. testuser) and a password, then click Create User. Click the go back link once the account has been made.

Even further down the MySQL page is a section where you can a MySQL user to a database. Select your user and database, and press Add. Check the 'All Privileges' box at the top of the table, and press Make Changes.

Now enter the information into your script's settings, and you're done :D.

-Luke.
 
Status
Not open for further replies.
Top