解决pq: SSL is not enabled on the server
解决pq: SSL is not enabled on the server
链接 postgresql 数据库,如下报错:
pq: SSL is not enabled on the server
解决:
datasource = ”user=postgres password=*** host=localhost port=5432 dbname=testgo sslmode=disable“
datasource = ”user=postgres password=*** host=localhost port=5432 dbname=testgo sslmode=disable“