search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Use Postgres

Asked by Koen
14 days ago.

Is it possible to use postgres as database instead of mysql or sqlite?
For example:
$db = new PDO("pgsql:host='$dbhost';dbname=$dbname", $dbuser, $dbpass);

Are there any postgres working examples?

Comment posted by Koen
9 days ago.

Is there anybody with some experience using postgres in combination with DayPilot?

Answer posted by Koen
9 days ago.

Solved! The statement I wrote in the original question is correct. The issue was the SQL syntax. I did not use the right syntax for postgres, which is a bit different from SQLite of MySQL.

Comment posted by Dan Letecky [DayPilot]
9 days ago.

Great, thanks for posting the solution!

New Reply
This reply is
Your name (optional):