当前位置:操作系统 > Unix/Linux >>

解决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“

 


CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,