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

Getting a False Exception when connecting to Cloud Database URLs #124

Open
dzimmanck opened this issue Jul 15, 2020 · 1 comment
Open

Getting a False Exception when connecting to Cloud Database URLs #124

dzimmanck opened this issue Jul 15, 2020 · 1 comment

Comments

@dzimmanck
Copy link

When attempting to connect to a cloud based database with a URL format of

url = mysql://...

The connection appears to be successful but I get an exception, ironically, from the print statement attempting to notify me of the success.

This is due to the Invalid IPv6 URL exception thrown by the stripped_db_url() function.

If you must strip for this print statement, I recommend passing that exception or using a more robust stripper.

@robmarkcole
Copy link
Owner

Thanks for the issue, are you able to create a PR to address?

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