# How to safely change the existing MySQL database password?

**URL:** <https://forum.infinityfree.com/t/how-to-safely-change-the-existing-mysql-database-password/121612>\
**Category:** Hosting Support\
**Created:** [October 27, 2026, 10:10pm UTC](https://forum.infinityfree.com/t/how-to-safely-change-the-existing-mysql-database-password/121612 "2026-10-27T22:10:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DRCollectionSupport](https://forum.infinityfree.com/letter_avatar/drcollectionsupport/32/6_449c533f586939b6e5f246632a46421f.png) [@DRCollectionSupport](https://forum.infinityfree.com/u/DRCollectionSupport)\
**Post date:** [October 27, 2026, 10:10pm UTC](https://forum.infinityfree.com/t/how-to-safely-change-the-existing-mysql-database-password/121612/1 "2026-10-27T22:10:15Z")

</div>

### Website URL

[https://drcollection.store](https://drcollection.store)

### Error Message

How to safely change the existing MySQL database password?

### Other Information

Hello InfinityFree Support,

I run a WordPress/WooCommerce website at [https://drcollection.store](https://drcollection.store).

I cannot find an option in my free hosting account to change the password for the existing MySQL database user.

Could you please explain the supported way to change the existing database password without recreating the database? My website is currently working, and I want to avoid disrupting it.

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [October 27, 2026, 10:10pm UTC](https://forum.infinityfree.com/t/how-to-safely-change-the-existing-mysql-database-password/121612/2 "2026-10-27T22:10:15Z")

</div>

Welcome to the InfinityFree community forum! Good to have you here.

- Most people answering here are volunteers. They’re often the fastest source of help. Admin (the only staff member) checks in about once a day for issues on our end.
- Volunteers can’t see your account or website. Share what you actually see, like error messages and what happens when you try something. That’s more useful than your theory of what’s wrong.
- AI tools often get InfinityFree wrong. If a volunteer’s advice differs from what an AI told you, please try the volunteer’s suggestion first.
- Solving an issue is a joint effort. Try the suggestions you get and report back what happened.

---

<div class="post-metadata">

**Author:** ![Lemni](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lemni/32/68303_2.png) [@Lemni](https://forum.infinityfree.com/u/Lemni)\
**Post date:** [October 27, 2026, 10:10pm UTC](https://forum.infinityfree.com/t/how-to-safely-change-the-existing-mysql-database-password/121612/3 "2026-10-27T22:10:26Z")

</div>

_Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look._

The database password is the same as your hosting account password, so you change it there. There’s no separate option in the control panel for it.

You can see and change it in the client area. Open your account from the accounts list, then look under MySQL Details.

[Client area accounts list](https://app.infinityfree.net/accounts)

This is what the “Common MySQL Connection Errors” article says about it:

> [@Common MySQL Connection Errors](https://forum.infinityfree.com/docs?topic=49338):
>
> Many websites use MySQL databases to store information and settings. However, there are some reasons why the connection to the database may fail. This article describes some commonly seen error messages when connecting to a database, as well as some general tips to keep in mind when setting up a database connection. Common Error Messages Using MySQL is great, but the error message returned if there is an issue logging in to your database can be quite confusing. Here are some commonly seen error…

To avoid disrupting your site, update the password in your WordPress `wp-config.php` (`DB_PASSWORD`) right after you change it. WordPress keeps using the old password until you do, and while the two don’t match the site will show a database connection error.

The phpMyAdmin article says changes can take at least 15 minutes to go through the system. Your browser may also keep an old phpMyAdmin login, so clearing cookies or using a private window helps if phpMyAdmin breaks afterwards.

> [@Unable to access phpMyAdmin](https://forum.infinityfree.com/docs?topic=49344):
>
> Some people experience problems when trying to access phpMyAdmin from their control panel. This usually happens after the password of the hosting account was changed. When this happens, you may see a ERR\_TOO\_MANY\_REDIRECTS, “The page isn’t redirecting properly” or “redirected you too many times” error. This article explains what you can do to regain access to phpMyAdmin. Clear your browser’s cache and cookies for the control panel and phpMyAdmin When you change your account’s password, you wi…

I haven’t found anything that says whether the site stays connected during those minutes. If the site is busy, pick a quiet time to make the change.

---

<div class="post-metadata">

**Author:** ![DRCollectionSupport](https://forum.infinityfree.com/letter_avatar/drcollectionsupport/32/6_449c533f586939b6e5f246632a46421f.png) [@DRCollectionSupport](https://forum.infinityfree.com/u/DRCollectionSupport)\
**Post date:** [October 27, 2026, 10:15pm UTC](https://forum.infinityfree.com/t/how-to-safely-change-the-existing-mysql-database-password/121612/4 "2026-10-27T22:15:08Z")

</div>

Thanks for the information. However, the MySQL Details section in my InfinityFree account is empty. My existing WordPress database is accessible through phpMyAdmin, and my website is currently working.

Could you please clarify where I can change the hosting account password and confirm whether it is also used as the MySQL database password for my existing website?

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [October 30, 2026, 10:41am UTC](https://forum.infinityfree.com/t/how-to-safely-change-the-existing-mysql-database-password/121612/5 "2026-10-30T10:41:21Z")

</div>

I’m sorry for the delay.

I just checked it and I see your WordPress database in the list of your account, so it seems that the database list issue was already resolved.

To change the database password, just go to the MySQL Databases section and click the pencil button next to the password field. Whether that password is also used by your website is best verified by just checking the current credentials in the wp-config.php file of your website.
