KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Can KoolReport work with PostgreSQL? #8

Open Glourise opened this topic on on Apr 29, 2017 - 2 comments

Glourise commented on Apr 29, 2017

I have postgresql database, can koolreport connect to it.

Peter Williams commented on Apr 29, 2017

Yes, our PdoDataSource can be use to connect to Postgresql.

    function settings()
    {
        return array(
            "dataSources"=>array(
                "progres" =>array(
                    "connectionString"=>"'pgsql:host=localhost;port=5432;dbname=testdrive",
                    "username"=>"root",
                    "password"=>""
                )
            )
        );
    }
Glourise commented on May 1, 2017

Ah ha! Thanks!

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed

None