Vanna.AI plugin connect mysql error, can u update the drive of mysql ? #750

Closed
opened 2026-02-16 10:20:22 -05:00 by yindo · 5 comments
Owner

Originally created by @zpyqtt on GitHub (Oct 25, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, 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.

Dify version

0.0.2

Plugin version

all

Cloud or Self Hosted

Cloud

Steps to reproduce

✔️ Error log

Originally created by @zpyqtt on GitHub (Oct 25, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.0.2 ### Plugin version all ### Cloud or Self Hosted Cloud ### Steps to reproduce <!-- Failed to upload "image.png" --> ### ✔️ Error log <!-- Failed to upload "image.png" -->
yindo added the bug label 2026-02-16 10:20:22 -05:00
yindo closed this issue 2026-02-16 10:20:22 -05:00
Author
Owner

@zpyqtt commented on GitHub (Oct 25, 2025):

the error log is: An error occurred in the plugin, please contact the author of langgenius/vanna/vanna for help, error type: DependencyError, error details: You need to install required dependencies to execute this method, run command: pip install PyMySQL

@zpyqtt commented on GitHub (Oct 25, 2025): the error log is: An error occurred in the plugin, please contact the author of langgenius/vanna/vanna for help, error type: DependencyError, error details: You need to install required dependencies to execute this method, run command: pip install PyMySQL
Author
Owner

@zpyqtt commented on GitHub (Oct 25, 2025):

i think we can add this in requirement

@zpyqtt commented on GitHub (Oct 25, 2025): i think we can add this in requirement
Author
Owner

@dosubot[bot] commented on GitHub (Oct 25, 2025):

Hi @zpyqtt! I'm Dosu and I’m helping the dify-official-plugins team.

You're right—PyMySQL isn't currently listed in the Vanna.AI plugin's requirements.txt, which is why you're seeing the DependencyError for MySQL connections. Adding PyMySQL to the requirements file should resolve this issue for all users on Dify Cloud who need MySQL support. You can see the current requirements here: requirements.txt.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Oct 25, 2025): <!-- Greeting --> Hi @zpyqtt! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the dify-official-plugins team. <!-- Answer --> You're right—PyMySQL isn't currently listed in the Vanna.AI plugin's requirements.txt, which is why you're seeing the DependencyError for MySQL connections. Adding PyMySQL to the requirements file should resolve this issue for all users on Dify Cloud who need MySQL support. You can see the current requirements here: [requirements.txt](https://github.com/langgenius/dify-official-plugins/blob/f32226e4db3adebff21082f770ac5bb833551484/tools/vanna/requirements.txt). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/0f2cb842-db9f-4a56-921e-c4e17661241a?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/0f2cb842-db9f-4a56-921e-c4e17661241a?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/0f2cb842-db9f-4a56-921e-c4e17661241a?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/0f2cb842-db9f-4a56-921e-c4e17661241a?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/0f2cb842-db9f-4a56-921e-c4e17661241a?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/0f2cb842-db9f-4a56-921e-c4e17661241a?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/0f2cb842-db9f-4a56-921e-c4e17661241a?feedback_type=other)</sup>&nbsp;&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify-official-plugins/issues/1925)
Author
Owner

@zpyqtt commented on GitHub (Oct 26, 2025):

@dosu can you help me update this requirements.txt and update a new pulgin version. thanks

@zpyqtt commented on GitHub (Oct 26, 2025): @dosu can you help me update this requirements.txt and update a new pulgin version. thanks
Author
Owner

@dosubot[bot] commented on GitHub (Oct 26, 2025):

I can't make the change directly, but here's how maintainers can resolve this:

  1. Add PyMySQL to the Vanna.AI plugin's requirements.txt (so it includes dify_plugin==0.0.1b65, vanna==0.7.5, and PyMySQL).
  2. Bump the plugin version in tools/vanna/manifest.yaml (for example, from 0.0.2 to 0.0.3).
  3. Open a pull request with these changes. Once merged, the new version will be available for Dify Cloud users.

This matches the standard process for dependency updates and plugin releases in this repo, as seen in other plugins (example PR). This will fix the MySQL DependencyError for all users.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Oct 26, 2025): <!-- Answer --> I can't make the change directly, but here's how maintainers can resolve this: 1. Add PyMySQL to the Vanna.AI plugin's requirements.txt (so it includes dify_plugin==0.0.1b65, vanna==0.7.5, and PyMySQL). 2. Bump the plugin version in tools/vanna/manifest.yaml (for example, from 0.0.2 to 0.0.3). 3. Open a pull request with these changes. Once merged, the new version will be available for Dify Cloud users. This matches the standard process for dependency updates and plugin releases in this repo, as seen in other plugins ([example PR](https://github.com/langgenius/dify-official-plugins/pull/219)). This will fix the MySQL DependencyError for all users. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/9dd1a1b4-c4f5-484d-8c83-c6e4ec4f40f0?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/9dd1a1b4-c4f5-484d-8c83-c6e4ec4f40f0?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/9dd1a1b4-c4f5-484d-8c83-c6e4ec4f40f0?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/9dd1a1b4-c4f5-484d-8c83-c6e4ec4f40f0?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/9dd1a1b4-c4f5-484d-8c83-c6e4ec4f40f0?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/9dd1a1b4-c4f5-484d-8c83-c6e4ec4f40f0?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/9dd1a1b4-c4f5-484d-8c83-c6e4ec4f40f0?feedback_type=other)</sup>&nbsp;&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify-official-plugins/issues/1925)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#750