mysql create dtabase mac terminal code example Example 1: login to mysql mysql -u USERNAME -p Example 2: mysql go into database USE dbname;