Open DiLysenk opened 5 days ago
You need to url-encode the password portion of the connect string:
from urllib.parse import quote_plus
password = quote_plus("P@ssw0rd")
connection_string = f'postgresql://pt_system:{password}@ps4.mp11.com:5432/triggers'
If you use a password "P@ssw0rd", it will incorrectly identify the host after checks.