Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can dify use MySQL as backend database for storing data? #8343

Open
5 tasks done
powerfooI opened this issue Sep 13, 2024 · 1 comment · May be fixed by #8364
Open
5 tasks done

Can dify use MySQL as backend database for storing data? #8343

powerfooI opened this issue Sep 13, 2024 · 1 comment · May be fixed by #8364
Assignees
Labels
💪 enhancement New feature or request

Comments

@powerfooI
Copy link
Contributor

powerfooI commented Sep 13, 2024

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

We are interested in dify and want to self host it to process our internal documents. dify takes postgresql as default backend database, which is an excellent and popular database solution. However we are lack of postgresql technique stack and experts, which make us struggled.

There are a lot of MySQL infrastructures on our machines that have been running well for a long time. If dify could take both postgresql and MySQL as backend database, organizations like us that manage MySQL instances could set up dify with little effort. I believe it would be a really appreciating enhancement! :)

Thank you so much for checking this!

I found there are several existing issues/pull requests asking this enhancement like #415, #3813 and #2371. Some people like me do need this feature ahah! I can help with this if it's possible. :)

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Copy link

dosubot bot commented Sep 13, 2024

@powerfooI Hello there! I'm here to help you with any bugs, questions, or even becoming a contributor. Just waiting for a human maintainer? I can assist you in the meantime.

I found a similar open issue and discussion regarding MySQL support in Dify:

  1. Does Dify have plans to support MySQL? Thank you. - This issue is closed, and the suggested solution is that there is a pull request for this, but no official plan for MySQL support right now [1].
  2. Does Dify have plans to support MySQL? Thank you. - This discussion is unsolved and was last updated on April 25, 2024 [2].

Additionally, there was a closed issue discussing the possibility of switching from PostgreSQL to MySQL:

If you are interested in contributing to this feature, you might want to start by looking at the existing pull request mentioned in the closed issue and discussion.

To continue talking to Dosu, mention @dosu.

@dosubot dosubot bot added the 💪 enhancement New feature or request label Sep 13, 2024
@powerfooI powerfooI linked a pull request Sep 13, 2024 that will close this issue
10 tasks
@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Oct 14, 2024
@crazywoola crazywoola removed the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants