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
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
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.
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.
So what would be the host name?
Last edited by tweaky; 12-23-2009 at 08:56 PM.
"localhost"
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.
look for a file named config or settings.