[GH-ISSUE #6132] can't ues mysql database #14252

Closed
opened 2026-04-19 20:40:31 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @Zeller-CN on GitHub (Oct 11, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/6132

I want to use the external database mysql. The DATABASE_URL configuration is as shown in the figure. When running the program, an error is reported: "cannot access local variable 'db' where it is not associated with a value". What is the problem?

20241012074441

In addition, how to set the database name when using milvus vector database?
图像_2024-10-12_075133141

Originally created by @Zeller-CN on GitHub (Oct 11, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/6132 I want to use the external database mysql. The DATABASE_URL configuration is as shown in the figure. When running the program, an error is reported: "cannot access local variable 'db' where it is not associated with a value". What is the problem? ![20241012074441](https://github.com/user-attachments/assets/8a107ba6-ca11-4441-8d5c-74315faeef95) In addition, how to set the database name when using milvus vector database? ![图像_2024-10-12_075133141](https://github.com/user-attachments/assets/672b9b9a-3f2c-4d26-9958-4a4065692720)
Author
Owner

@tjbck commented on GitHub (Oct 11, 2024):

mysql is not supported.

<!-- gh-comment-id:2408246646 --> @tjbck commented on GitHub (Oct 11, 2024): mysql is not supported.
Author
Owner

@Zeller-CN commented on GitHub (Oct 11, 2024):

Using postgresql, the same error occurs

<!-- gh-comment-id:2408248074 --> @Zeller-CN commented on GitHub (Oct 11, 2024): Using postgresql, the same error occurs
Author
Owner

@andreclaudino commented on GitHub (Dec 17, 2024):

Yes, I have the same problem using postgres, which is suposed to be supported.

<!-- gh-comment-id:2549299446 --> @andreclaudino commented on GitHub (Dec 17, 2024): Yes, I have the same problem using postgres, which is suposed to be supported.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#14252