Skip to content

Password containing / cannot be used (MySQL) #548

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
yangsongbai1 opened this issue May 6, 2023 · 1 comment
Open

Password containing / cannot be used (MySQL) #548

yangsongbai1 opened this issue May 6, 2023 · 1 comment

Comments

@yangsongbai1
Copy link

mysql://root:123456../@myhost:3306/mydb

ValueError: Port could not be cast to integer value as '123456..'

@Sebcio03
Copy link

Sebcio03 commented May 4, 2025

@yangsongbai1 you have to escape special character e.g. with urllib.parse.quote_plus

Image

This code works for me fine :)

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