I have a password with two special character "(" and "%". I'm using sqlalchemy to connect with the below but I still get a login failed for user.
params = f'DRIVER={{{driver}}};SERVER={server};DATABASE={database};UID={uid};PWD={{{pwd}}};TDS_Version=8.0;Port=1433;'
connection_string = 'mssql+pyodbc:///?odbc_connect=%s' % urllib.parse.quote_plus(params)