# Setup Gitea Windows 10 with MySQL problem

**URL:** <https://forum.gitea.com/t/setup-gitea-windows-10-with-mysql-problem/347>\
**Category:** Install/Maintain/Configure\
**Created:** [June 16, 2018, 6:38pm UTC](https://forum.gitea.com/t/setup-gitea-windows-10-with-mysql-problem/347 "2018-06-16T18:38:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aeonos](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/aeonos/32/4744_2.png) [@Aeonos](https://forum.gitea.com/u/Aeonos)\
**Post date:** [June 16, 2018, 6:38pm UTC](https://forum.gitea.com/t/setup-gitea-windows-10-with-mysql-problem/347/1 "2018-06-16T18:38:09Z")

</div>

Hey everyone!

i am trying to setup a gitea instance in Windows 10 using a MySQL database.

My problem is maybe really simple to solve, but i dont have any experince using MySQL.

In the very first installation page of the gitea installation, which is displayed, when you navigate to localhost:3000 i setup database to MySQL, host: 127.0.0.1:3306, user: gitea, pass: \*\*\*, database: gitea.  
In MySQL i created a database called gitea with “CREATE DATABASE gitea” and a user “gitea”.

When i click on the install button on the bottem of the page i always get the error message: “Datenbankeinstellungen sind ungültig: this authentication plugin is not supported” which seems to lead to an authentication problem. I have tried to find out what plugin gitea uses to login and which is set for the user gitea, but without any progress up to now. The only thing i found was that Gogs uses password value instead of mysql\_native\_password but that does not help up to now.

Can somebody please help me?

---

<div class="post-metadata">

**Author:** ![techknowlogick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/techknowlogick/32/4706_2.png) [@techknowlogick](https://forum.gitea.com/u/techknowlogick)\
**Post date:** [June 16, 2018, 11:22pm UTC](https://forum.gitea.com/t/setup-gitea-windows-10-with-mysql-problem/347/2 "2018-06-16T23:22:24Z")

</div>

Hi @Aeonos,

There is a ticket open for this in the tracker: [https://github.com/go-gitea/gitea/issues/3876](https://github.com/go-gitea/gitea/issues/3876) It has a workaround which may help you until the fix gets merged into the project.

Thanks,  
@techknowlogick

---

<div class="post-metadata">

**Author:** ![suisseWalter](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@suisseWalter](https://forum.gitea.com/u/suisseWalter)\
**Post date:** [November 4, 2018, 10:18am UTC](https://forum.gitea.com/t/setup-gitea-windows-10-with-mysql-problem/347/3 "2018-11-04T10:18:35Z")

</div>

I had the same problem with gitea1.6.0-rc1 on raspbian (pi3B+)  
my Solution was to use the sqllite3 database. all the other didn’t work

---

<div class="post-metadata">

**Author:** ![anon74399538](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@anon74399538](https://forum.gitea.com/u/anon74399538)\
**Post date:** [November 5, 2018, 12:11pm UTC](https://forum.gitea.com/t/setup-gitea-windows-10-with-mysql-problem/347/4 "2018-11-05T12:11:11Z")

</div>

Perhaps that’s a bug in certain ARM implementations of mysql? IIRC there are some using ODROID with host OS, but that’s x86 arch. Either way good to know. 👍🏼

---

<div class="post-metadata">

**Author:** ![suisseWalter](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@suisseWalter](https://forum.gitea.com/u/suisseWalter)\
**Post date:** [November 5, 2018, 12:35pm UTC](https://forum.gitea.com/t/setup-gitea-windows-10-with-mysql-problem/347/5 "2018-11-05T12:35:58Z")

</div>

all the other database options didn’t work ether. so I think it is more likely a problem with gitea, or nginx. nginx seems likely for me as I had some problems before installing it.

---

<div class="post-metadata">

**Author:** ![anon74399538](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@anon74399538](https://forum.gitea.com/u/anon74399538)\
**Post date:** [November 12, 2018, 11:07am UTC](https://forum.gitea.com/t/setup-gitea-windows-10-with-mysql-problem/347/6 "2018-11-12T11:07:28Z")

</div>

Thanks for the info. If you’re able to get it working it would be great to hear what you did. 😅
