Commands to set up TWIG databases with pgsql, assuming that webserver runs as user nobody (UID 98 or 99), edit the file twig.table.pgsql before doing this if your webserver runs as a different user: (log in as user postgres) createuser nobody (give no privileges, use unix UID) psql -d template1 create database twig; \connect twig \i /...path.../twig.table.pgsql \q