当前位置:操作系统 > 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 © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,