# Unable to connect db

**URL:** <https://forum.infinityfree.com/t/unable-to-connect-db/69751>\
**Category:** Hosting Support\
**Created:** [December 11, 2022, 12:05pm UTC](https://forum.infinityfree.com/t/unable-to-connect-db/69751 "2022-12-11T12:05:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shamshad1992](https://forum.infinityfree.com/letter_avatar/shamshad1992/32/6_449c533f586939b6e5f246632a46421f.png) [@shamshad1992](https://forum.infinityfree.com/u/shamshad1992)\
**Post date:** [December 11, 2022, 12:05pm UTC](https://forum.infinityfree.com/t/unable-to-connect-db/69751/1 "2022-12-11T12:05:06Z")

</div>

([http://newrajasthanmarble.epizy.com](http://newrajasthanmarble.epizy.com))

(please specify the website or account you are asking about)

### Error Message

connect errorAccess denied for user ‘epiz\_27417063’@‘192.168.0.218’ (using password: YES)

### this error occurs after changing my control panel password

(i have checked my code password and database name is correct)

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [December 11, 2022, 2:08pm UTC](https://forum.infinityfree.com/t/unable-to-connect-db/69751/2 "2022-12-11T14:08:58Z")

</div>

Welcome!

See this article:

> [@Common MySQL Connection Errors](https://forum.infinityfree.com/t/common-mysql-connection-errors/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…

---

<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:** [December 11, 2022, 2:28pm UTC](https://forum.infinityfree.com/t/unable-to-connect-db/69751/3 "2022-12-11T14:28:31Z")

</div>

> [@shamshad1992](#):
>
> this error occurs after changing my control panel password

The control panel password is the account password, which is also the database password. So if you change the control panel password, you’ll need to update your database credentials as well.

Also, **only change your password through the client area**. Do not use the password reset functionality of the control panel. If you do, the password of your account is changed but this is not reflected in the client area. Many client area features will break because of it and the password from the client area will be pushed to your hosting account without warning at some point, breaking your database connection without warning.

So please reset the account password **through the client area** and use that for your database configuration.

---

<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:** [December 18, 2022, 2:28pm UTC](https://forum.infinityfree.com/t/unable-to-connect-db/69751/4 "2022-12-18T14:28:50Z")

</div>

Closed on December 18, 2022, 2:28pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
