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?
Connect to DB using base user: mysql -u base_user -pbase_user_pass And execute CREATE DATABASE, CREATE USER and GRANT PRIVILEGES Statements.
mysql -u base_user -pbase_user_pass
Here's handy web wizard to help you with statements www.bugaco.com/helpers/create_database.html