Unable to connect to redshift using jdbc connection url.
My password has special characters eg: a(=b`git.
My url is jdbc:redshift://localhost:5439/trsanalytics?user=user1&password=a%28%3Db%60git
I am encoding the password and appending it. Still I get the following error
Amazon](500310) Invalid operation: password authentication failed for user
Sample code snippet
String encode_pwd = URLEncoder.encode(password,"UTF-8");
String fullUrl = url + "?user=" + username + "&password=" + encode_pwd;
DriverManager.getConnection(url)
connection.getMetaData().getURL(). - Andreas