ORANGE COUNTY, Calif. -- This step-by-step illustration shows how to login and create a database from a Linux command line. We assume you have Apache + MySQL installed on a Linux server and have SSH access.
//Replace [username] with the username for your mySQL
mysql -u [username] -p //Replace [foobar] with what ever you want
create database [foobar]; //Remember to end the statement with a semicolon
show databases;