Skip to content

修改pymysql连接语句,兼容python3.8 #3

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Bbbzhao
Copy link

@Bbbzhao Bbbzhao commented Aug 16, 2022

使用python3.8进行MySQL数据库连接的时候,发现出现以下错误”init() takes 1 positional argument but 5 were given“
可能是python3.8的函数在使用时需要指定参数名,否则会使用默认的参数模板,现使用兼容写法

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

Successfully merging this pull request may close these issues.

1 participant