SCRAM authentication requires libpq version 10 or above in

不羁岁月 提交于 2021-02-16 18:01:44

问题


I get an error when I try to connect to the Postgresql server with PHP, and I get an error like this one:

Unable to connect to PostgreSQL server: SCRAM authentication requires libpq version 10 or above in

I use EnterpriseDb, and is pg_connect(); in my code and I don't know what is wrong.


回答1:


I got that error when I enabled only one extension extension=php_pgsql.dll in php.ini, I tried again uncomment extension=php_pdo_pgsql.dll , and it's worked well for me



来源:https://stackoverflow.com/questions/58454622/scram-authentication-requires-libpq-version-10-or-above-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!