Connecting cakephp 2.0 with PostgreSQL

佐手、 提交于 2019-12-02 08:58:36
Erwin Brandstetter

A shot in the dark: Is the name of the database Test or test? Unquoted identifiers are cast to lower case in PostgreSQL. The manual about that.

Next shot in the dark: You are connecting to localhost. This is not a local connection via Unix domain socket. For this to work the database must be set up to listen to TCP/IP connections. So you need in your postgresql.conf:

listen_addresses = '*'

.. and restart.

Also, your pg_hba.conf settings need to allow the connection. Could be a problem similar to this one.
Start by reading the chapter Connection Settings in the fine manual.

But I am done guessing now. You need to provide the error message.

I have found the answer for my problem This guy is very useful

http://tutology.net/category/mysql/install-postgresql-and-phppgadmin-windows-wamp

Basically i Copied libpq.dll from wamp\bin\php\phpX.X.X to wamp\bin\apache\ApacheX.X.XX\bin

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