$ create-postgres-user-and-database foo bar # create user foo and give him access to database bar
foo
bar
$ create-mysql-user-and-database foo # create database and user foo