Trying to connect to postgresql server using command prompt.
Command used:
psql "sslmode=require host=localhost dbname=test"
Error thrown:
psql: server does not support SSL, but SSL was required
Please help me out on this. Thanks.
This link suggests that you might try
psql "sslmode=disable host=localhost dbname=test"
or (probably better)
psql "sslmode=allow host=localhost dbname=test"
That way you should be able to connect to your server.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With