My website (trillteamleon.com) shows the error “error establishing database connection”, I tried changing the SQL username, password as well as the hostname via the config.php in my cPanel but nothing seems to be working. Please help. Thank you
My site: trillteamleon.com
Error being displayed: error establishing database connection
If it says “Error estabilishing a database connection” it means the database connection failed. I’ve posted a link about that. Please check the Knowledge Base next time you post, as you might find something useful!
Nothing else, but just check. If you cannot connect to the database, it means the password is not correct or the database permissions are corrupt. Change the password of your hosting account and use it or wait here for the Admin to reset the permissions for your database. Or delete the database and create a new one, without the same name, and edit the wp-config.php to include the new database name, username and password.
Ok thank you very much. I tried changing the password by logging in to the client area then going to the “edit account” section and changing the hosting account password, is that the right way to do it?
Ok thank you, I’ve tried that already. Guess I’ll just wait for the admin. How do I create a new database, do I do that via the MySQL databases? Is is not a complicated process?
To create a database, you do that from the “MySQL Databases” section of the Control Panel, typing a name of it and clicking on “Add Database”. It’s not a complicated process.
you can remove. or you can don’t delete it too! limit is 400 DBs only!
depends. if you wish to have your past data in your old DB on new one. take backup to don’t lost them! after creating new one . paste the code on SQL Tag on new DB
Hey, there’s a button next to the database I have now called “admin”, what will happen to the information in there? Will it automatically be transferred to the new database?
After backing up the database data of your website from the old database (if you exported it first), you can import it on there, and modify the database information to include the new database informations.