【问题标题】:Connection issue with postgres and pg8000 python - clear password issue?postgres 和 pg8000 python 的连接问题 - 清除密码问题?
【发布时间】:2014-09-11 22:47:33
【问题描述】:

我正在尝试使用以下方式连接:

conn = DBAPI.connect(host='sql2', user='XXX', password='XX', database='XX', socket_timeout=100, port=100)

我现在发现我收到以下错误:

pg8000.errors.InterfaceError: Authentication method 3 not supported by pg8000.

环顾四周,我明白这可能意味着什么:

 3 = Cleartext pwd (not supported by pg8000)

这里有什么建议吗?

【问题讨论】:

    标签: python postgresql pg8000


    【解决方案1】:

    pg8000supports password authentication的最新版本(1.9.14)。

    【讨论】:

      猜你喜欢
      • 2014-09-07
      • 1970-01-01
      • 2011-09-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-05-29
      • 1970-01-01
      • 2021-11-01
      相关资源
      最近更新 更多