Create database with specific owner in psql python Copy 1CREATE DATABASE databasename WITH OWNER username ENCODING='utf-8'; Share this: