Log in/register script

tweaky

New Member
Messages
5
Reaction score
0
Points
0
Why do I get this message when trying to register/log in?

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'tweaky'@'starka.x10hosting.com' (using password: YES) in /home/tweaky/public_html/login.php
 

xgreenberetx

New Member
Messages
57
Reaction score
1
Points
0
Your config setting to connect to your database does not have permission to have access to that database. Check your settings to match the ones you used when you made the database.
 

descalzo

Grim Squeaker
Community Support
Messages
9,372
Reaction score
326
Points
83
You also have the wrong username.

mySQL usernames on free hosting are of the form:

cPanelusername_anothername

So, if your cPanel name is also tweaky, you would have db usernames like tweaky_tom , tweaky_dick and tweaky_harry.
 

tweaky

New Member
Messages
5
Reaction score
0
Points
0
Where do i go to change the setting? Because it tells me access denied still.
 

descalzo

Grim Squeaker
Community Support
Messages
9,372
Reaction score
326
Points
83
Where do i go to change the setting? Because it tells me access denied still.


You have a slight advantage over most of us. You actually know what software you are running.

It usually comes with documentation and/or instructions. Quite often it will mention a file named something like configuration.php and tell you what/how to edit.

But since there are 24,674,314 different scripts you might be using, I am afraid that I don't have a clue.
 
Top