# \[Solved\] Gitea Installation Fails with Database Error

**URL:** <https://dietpi.com/forum/t/solved-gitea-installation-fails-with-database-error/2848>\
**Category:** Troubleshooting\
**Created:** [16 January 2019 01:58 UTC](https://dietpi.com/forum/t/solved-gitea-installation-fails-with-database-error/2848 "2019-01-16T01:58:15Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![peddanet](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/p/2acd7d/32.png) [@peddanet](https://dietpi.com/forum/u/peddanet)\
**Post date:** [29 January 2024 00:13 UTC](https://dietpi.com/forum/t/solved-gitea-installation-fails-with-database-error/2848/8 "2024-01-29T00:13:03Z")

</div>

[guide 7.2](https://dietpi.com/docs/software/cloud/#__tabbed_7_2)  
I also followed this guide to install gitea, but also failed with:  
`Datenbankeinstellungen sind ungültig: Error 1045 (28000): Access denied for user 'gitea'@'localhost' (using password: YES)`

I managed to change my global password with instructions in toml file found [here](https://dietpi.com/forum/t/password-explanation/14415/6) and restarted dietpi-dashboard.service.

It always says MariaDB but my config page says MySql.

Also all the pathes given are not existent and so does the

```auto
/run/mysqld/mysqld.sock

```

Where is the database storage folder?  
And also I have already a working git repo configured in /home/git/git… Can’t I use this also for gitea or do I have to use the default places. I also have found gitea artifacts in /home/git/gitea…

But anyway I am stuck and nothing works.

---

_[View the full topic](https://dietpi.com/forum/t/solved-gitea-installation-fails-with-database-error/2848)._
