Hello, this tutorial will show you where to check database details and where you can change it in Joomla 3.x.
In order to check your database details, go to your Joomla admin panel, navigate to Site -> Global Configuration -> Server Tab and here you can check database details:
Notice! You cannot change database details (Database type, name, username and prefix) in Joomla admin panel. If you do it, the site will go down.
If you need to change database details, you can do it in your MySQL databases section of your hosting control panel.
Here you can set a new password.
Go to your MySQL databases section of your hosting control panel and check your database name:
There you will have an opportunity to set a new password.
Click set new password and enter new password for your database.
After these changes you need to reset password in configuration.php file. That is the file where all database details are written. This file is located in your website Joomla root folder.
If you do not change the password in configuration.php file, you will get en “Error establishing database connection”:
Open configuration.php file, check the database password and set the new one that you have put in your MySQL database:
Check your website, it works in a proper way.
Thank you for watching our tutorial, now you know where to check database details and where you can change it in Joomla 3.x.
Feel free to check the detailed video tutorial below: