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.
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.