CREATE DATABASE contacts; CREATE USER contactsuser WITH PASSWORD 'contacts'; GRANT ALL PRIVILEGES ON DATABASE contacts TO contactsuser;