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

Use Postgres

Asked by Koen
4 years 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
4 years ago.

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

Answer posted by Koen
4 years 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]
4 years ago.

Great, thanks for posting the solution!

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.