Change password (MySQL users)

 

Overview

This article provides steps to change the password for a MySQL user.

How to change the password for a MySQL user

You can change the password for a MySQL user by visiting the panel. You must also update the config file within the third-party application.

Changing your database password

  1. Navigate to the MySQL Databases page.
  2. To the right of your database, click your username.
  3. At the bottom of the page, enter your new password and save it.

Updating your site's configuration file

When you change the database user password you must also change the config file for your website application. If you do not, your website will not load. The config file is different for each site, and a few common examples are listed below:

Software Config file name Config file location
Concrete CMS database.php application/config/
Joomla configuration.php In the site's main directory
MediaWiki Localsettings.php In the site's main directory
phpBB config.php In the site's main directory
WordPress wp-config.php In the site's main directory
Zen Cart configure.php includes/

You can update your site's config file by logging into the server via FTP or SSH. Consult online documentation for your specific app for instructions on how to adjust this config file.

See also

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?