workbench uses database name when query code example Example 1: create databaste mysql mysql> CREATE DATABASE databaseName; Example 2: mysql go into database USE dbname;