# Gitea Support Issue - ERROR 1130

**URL:** <https://forum.gitea.com/t/gitea-support-issue-error-1130/5503>\
**Category:** Install/Maintain/Configure\
**Created:** [July 16, 2022, 8:01pm UTC](https://forum.gitea.com/t/gitea-support-issue-error-1130/5503 "2022-07-16T20:01:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yodaphone](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/yodaphone/32/2815_2.png) [@yodaphone](https://forum.gitea.com/u/yodaphone)\
**Post date:** [July 16, 2022, 8:01pm UTC](https://forum.gitea.com/t/gitea-support-issue-error-1130/5503/1 "2022-07-16T20:01:38Z")

</div>

I am new to Gitea and decided to run it using docker compose. I set everything up on a ubuntu server 22.04 and when i get to the setup page i get this error.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/c/c5f757d4a61a1dac81a00301c01ee15e3748c4cf.png)

this is my docker compose file

```auto
version: "3"

networks:
  gitea:
    external: false
volumes:
  gitea:
    driver: local

services:
  server:
    image: gitea/gitea:latest
    container_name: gitea
    environment:
      - USER_UID=113
      - USER_GID=118
      - GITEA __database__ DB_TYPE=mysql
      - GITEA __database__ HOST=db:3306
      - GITEA __database__ NAME=gitea
      - GITEA __database__ USER=gitea
      - GITEA __database__ PASSWD=XYZ1234
    restart: always
    networks:
      - gitea
    volumes:
      - gitea:/data
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    ports:
      - "3000:3000"
      - "2222:22"

    depends_on:
      - db

  db:
    image: mysql:8
    restart: always
    environment:
      - MYSQL_ROOT_PASSWORD=ABC1234
      - MYSQL_USER=gitea
      - MYSQL_PASSWORD=ABC1234
      - MYSQL_DATABASE=gitea
    networks:
      - gitea
    volumes:
      - ./mysql:/var/lib/mysql

```

Can someone please let me know what i’m doing wrong?

---

<div class="post-metadata">

**Author:** ![penguin1](https://avatars.discourse-cdn.com/v4/letter/p/ee59a6/32.png) [@penguin1](https://forum.gitea.com/u/penguin1)\
**Post date:** [October 14, 2023, 8:04pm UTC](https://forum.gitea.com/t/gitea-support-issue-error-1130/5503/2 "2023-10-14T20:04:16Z")

</div>

I get exactly the same error using Mariadb. Obviously the installer is not setting up the access properly. The temporary solution is to log into the database and fix the access but this should really be taken care of in the install. I’ll raise a bug for this (assuming Gitea has a github or similar)

---

<div class="post-metadata">

**Author:** ![penguin1](https://avatars.discourse-cdn.com/v4/letter/p/ee59a6/32.png) [@penguin1](https://forum.gitea.com/u/penguin1)\
**Post date:** [October 16, 2023, 2:43pm UTC](https://forum.gitea.com/t/gitea-support-issue-error-1130/5503/3 "2023-10-16T14:43:15Z")

</div>

There is an error in the MariaDB log when this is attempted

Aborted connection 5 to db: ‘unconnected’ user: ‘unauthenticated’ host: ‘192.168.112.3’ (This connection closed normally without authentication)

---

<div class="post-metadata">

**Author:** ![penguin1](https://avatars.discourse-cdn.com/v4/letter/p/ee59a6/32.png) [@penguin1](https://forum.gitea.com/u/penguin1)\
**Post date:** [October 16, 2023, 10:02pm UTC](https://forum.gitea.com/t/gitea-support-issue-error-1130/5503/4 "2023-10-16T22:02:19Z")

</div>

This works fine for me using mysql so I’m assuming there is a difference in the defaults between mysql and mariadb
