If you have recently changed a hosting package or transferred your hosting to us and want to use your existing WordPress site, configuration of the database must be done. Kindly follow the instructions below on how to change database configuration in WordPress.
Change database configuration in WordPress
Step 1. Take note of the new database details. (You may need to create a new one through the MySQL Database Wizard.)
Step 3. Edit the wp-config.php file. (You may do this via File Manager or FTP or if you are using VPS or Dedicated Server and have SSH access.)
Step 4. Modify the following lines:
/** The name of the database for WordPress */
/** MySQL database username */
/** MySQL database password */
/** MySQL hostname */
- Database name
- Database username
- Database user password
- Hostname must be localhost
Step 5. Save the file and upload it into the WordPress directory.
If in case you will see an error message when you access your WordPress website, kindly double check the database configuration details and make sure they are all correct.
Do not hesitate to contact our support team if you have further questions.