Home › Forums › Guriddo Suito PHP › jqGrid and Postgresql
Can I connect to postgresql database not using ADOConnection? Or it’s the only way to work with postgresql? Is there any example?
Hello,
Since we use PDO ther is no diffrence when using PostgreSQL with PDO.
There are some steps you need to follow.
1. Be a sure you have installed pdo_pgsql and it is working.
2. Connect to the PostgreSQl using DSN like this :
http://php.net/manual/bg/ref.pdo-pgsql.connection.php
Test the connection and if it is ok you are ready to use jqGrid.
Please let me know if you have difficulties using PostgreSQL.
Kind Regards,
Thanks a lot! The problem was with PDO driver.
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS