美文网首页
2019-03-01(问题说明)

2019-03-01(问题说明)

作者: IHAVETEMPO | 来源:发表于2019-03-01 23:31 被阅读0次

    根据教程(教程tutorial2.0链接:支持中文的deepdive),执行命令:deepdive do articles时,出现以下错误:could not connect to database postgres :FATAL:Ident authentication failed for user "lala"。在deepdive中连不上PostgreSQL数据库。

    deepdive中的db.url文件配置DeepDive application structure如下(url教程:):

        而直接在PostgreSQL数据库中,用户lala可以登录到postgres数据库,如图所示。

PostgreSQL数据库的postgres.db文件夹中,有以下这些文件:

其中两个文件(pg_hba.conf和postgresql.conf)的配置信息如下:

    网上搜索了一下问题(could not connect to database postgres :FATAL:Ident authentication failed for user "lala")的解决方案,跟着上面的教程修改,还是未解决,搜到的一些解决方案链接如下:

    1、PostgreSQL pg_ident.conf 文件简析

    2、postgres访问认证配置文件pg_hba.conf

    3、psql: FATAL: Ident authentication failed for user "postgres"

    4、psql: FATAL: Ident authentication failed for user "postgres"

    5、psql: FATAL: Ident authentication failed for user "postgres"

相关文章

网友评论

      本文标题:2019-03-01(问题说明)

      本文链接:https://www.haomeiwen.com/subject/bkfsuqtx.html