# Changed password mariadb - no access

**URL:** <https://forum.gitea.com/t/changed-password-mariadb-no-access/10895>\
**Category:** Install/Maintain/Configure\
**Created:** [March 5, 2025, 1:04pm UTC](https://forum.gitea.com/t/changed-password-mariadb-no-access/10895 "2025-03-05T13:04:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sambzap](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/sambzap/32/6721_2.png) [@sambzap](https://forum.gitea.com/u/sambzap)\
**Post date:** [March 5, 2025, 1:04pm UTC](https://forum.gitea.com/t/changed-password-mariadb-no-access/10895/1 "2025-03-05T13:04:30Z")

</div>

Hello!

I had an gitea + mariadb running in docker. I changed the mariadb password for root and the gitea@% user and also updated the env-vars.

Now I keep getting this in the log of Gitea container:  
`2025/03/05 14:01:52 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #6/10 failed. Error: Error 1045 (28000): Access denied for user 'gitea'@'172.18.0.3' (using password: YES)`

Also, I only use the git-repos and are about to move to a new docker host. I dont need the SQL performance, can I just drop the mariadb-connection and start a new SQLite instance and copy the files in my gitea config directory (repos etc). I dont have any PR’s and discussions…

---

<div class="post-metadata">

**Author:** ![forgiteasoup](https://avatars.discourse-cdn.com/v4/letter/f/9de053/32.png) [@forgiteasoup](https://forum.gitea.com/u/forgiteasoup)\
**Post date:** [March 9, 2025, 10:50pm UTC](https://forum.gitea.com/t/changed-password-mariadb-no-access/10895/2 "2025-03-09T22:50:06Z")

</div>

I doubt they’d show up just by virtue that establishing a repo creates an entry in the DB.

I’d just double check that not only is the gitea password right but also the privileges on the DB.
