This article will show you how to change the username and password within the configuration file on your hosting package.
If you’ve changed the username or password for any databases within your hosting package, you will need to update your configuration file to reflect these changes as well.
If you use WordPress as your Content Management System (CMS), simply follow the instructions below. If, however, you use any other platform, please consult your web developer.
Step 1 of 4
Start by accessing eXtend Control Panel for your hosting package.
Step 2 of 4
From there, click on the File Manager link and then enter the public_html folder.
Step 3 of 4
On the next screen, you’ll see all the files associated with your website.
Right click the file wp-config.php and then click Edit.
Step 4 of 4
You will now be shown all the usernames and passwords for your database. From here, you’ll need to change the text that appears within the quotation marks. For example, if you changed the password for your database to ‘coolexample123’, then the text should appear as follows:
/** Database password */
define( ‘DB_PASSWORD’, ‘coolexample123’ );
Once you’ve made the necessary changes, click Save & Close to confirm them.
| Home » Categories » Web Hosting » Databases | |||
How do I update the database password within my configuration file? |
|||
|
Article Number: 1886 | Rating: 1/5 from 1 votes | Last Updated: Thu, Sep 29, 2022 at 3:31 PM
|
|||
|
| |||
Related Articles
How do I use PHP to connect to another database on another server?
Added on Mon, Mar 2, 2015
Why is MySQL 5 saying it can’t find a column that exists?
Added on Mon, Mar 2, 2015
Why am I getting a ’call to undefined function: mysql_connect()’ error in my PHP script?
Added on Mon, Mar 2, 2015
Is there a graphical interface available for MySQL?
Added on Thu, Feb 26, 2015
How do I create a MySQL database?
Added on Thu, Feb 26, 2015
|




