MyBB Community Forums

Full Version: Hostname Error EDIT: SQL Error - Access Denied
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
My previous hostname was something like:

XXXXmybb.db.NUMBERS.hostedresource.com

I am excluding the full name for privacy.

I just moved to a new host, and I need to change the hostname. How can I get the hostname for my new host? Is there a MySQL command I can run or something?
You can generally use 'localhost'. If that doesn't work, contact the host.
I will contact them. Could I PM you my details, just so I can make sure that the rest of the details are correct?
Often free hosts have hostname like the one you mentioned, but most of the host will have localhost as the hostname.
I have already tried localhost, but it appears to not be working :/
Do you have access to PhpMyAdmin or database management system like it? It would mention in the top, your hostname.
Hm. It says localhost, but I still get the SQL error on my website. I'm quite sure I have all the details down right. I don't know whats wrong...
What's the error?
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1045 - Access denied for user 'CPANELNAME'@'localhost' (using password: YES)
Query:
[READ] Unable to connect to MySQL server
Did you changed your username and password inside config.php (inc/config.php) file as per new hosting account details?
Pages: 1 2