query to create db mysql code example Example: mysql database create mysql> CREATE DATABASE databasename;