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

[BUG]: 连接mysql数据库报错(Connection to MySQL database results in an error) #2671

Open
cchlcc opened this issue Dec 5, 2024 · 5 comments

Comments

@cchlcc
Copy link

cchlcc commented Dec 5, 2024

Contact Details [Optional]

No response

System Information

还是报错,到底是什么原因呢。这边比较着急,有没有大佬帮帮忙~!!!("I'm still encountering errors; what could be the cause? I'm in a bit of a hurry here, is there anyone who can help me out?!!!")
python是3.11版本
**我的相关依赖是这样:**My dependencies are as follows:
image
image

What happened?

报错信息如下:(The error message is as follows:)
image
image
image

Steps to reproduce

我使用python跑了以下命令:
from superduper import superduper
db = superduper('mysql://root:1026@localhost/superduper')

2.
3.
...

Relevant log output

No response

@blythed
Copy link
Collaborator

blythed commented Dec 5, 2024

Add this:

pip install 'ibis-framework[mysql]'

@cchlcc
Copy link
Author

cchlcc commented Dec 6, 2024

Add this:

pip install 'ibis-framework[mysql]'

This has already been downloaded

@blythed
Copy link
Collaborator

blythed commented Dec 6, 2024

Have you tried pip install mysql-python?

@cchlcc
Copy link
Author

cchlcc commented Dec 8, 2024

你试过嗎pip install mysql-python

没有,但是我怀疑是某些依赖版本不兼容的问题。因为除了这个问题之外,还会报错另一个问题:一个类不能在某个.py文件中找到的错误。

@cchlcc
Copy link
Author

cchlcc commented Dec 8, 2024

你试过嗎pip install mysql-python

你可以帮我看看我提到的那些依赖版本,有没有不兼容的问题吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants