Question: how to create database in postgresql mac?
Answer: Install PostgreSQL server on MacOSX using Homebrew. Use the Postgres command line tools to configure Postgres: Use the psql command line tool to view information about the database. Create a new user using psql and createuser. Change a user's password. Create a database using psql and createdb.