I\'m looking for something like createdb in PostgreSQL or any other solution that would allow me to create database with a help of a shell command. Any hints?
Use
$ mysqladmin -u -p create
You will be prompted for password. Also make sure the mysql user you use has privileges to create database.