The database is set incorrectly during installation!(MSSQL and SQLITE3) #2534

Closed
opened 2025-11-02 04:39:41 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @kevin928 on GitHub (Nov 14, 2018).

  • Gitea version (or commit ref):
  • Git version: latest
  • Operating system: windows 10 pro
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • [ X] MSSQL
    • [ X] SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • [X ] No
    • Not relevant
  • Log gist:

Description

I use Docker for windows

docker run -d --name=gitea -p 10022:22 -p 10080:3000 -v C:\Users\kevin\gitea:/data gitea/gitea:latest
...

Screenshots

aa
aaa

Originally created by @kevin928 on GitHub (Nov 14, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): - Git version: latest - Operating system: windows 10 pro - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ X] MSSQL - [ X] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [X ] No - [ ] Not relevant - Log gist: ## Description I use Docker for windows docker run -d --name=gitea -p 10022:22 -p 10080:3000 -v C:\Users\kevin\gitea:/data gitea/gitea:latest ... ## Screenshots ![aa](https://user-images.githubusercontent.com/5638731/48488930-d56b1480-e85c-11e8-839e-99e220f14d4a.jpg) ![aaa](https://user-images.githubusercontent.com/5638731/48488931-d603ab00-e85c-11e8-8e84-170fe1313645.jpg) <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/questionissue/stale labels 2025-11-02 04:39:41 -06:00
Author
Owner

@lafriks commented on GitHub (Nov 18, 2018):

You need to set to correct host yourself as gitea can not detect your servers hostname for mssql

@lafriks commented on GitHub (Nov 18, 2018): You need to set to correct host yourself as gitea can not detect your servers hostname for mssql
Author
Owner

@lunny commented on GitHub (Nov 18, 2018):

You can mysql example https://docs.gitea.io/en-us/install-with-docker/

@lunny commented on GitHub (Nov 18, 2018): You can mysql example https://docs.gitea.io/en-us/install-with-docker/
Author
Owner

@stale[bot] commented on GitHub (Jan 17, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Jan 17, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2534