Use -e to execute the command. Here is what that will look like:
-e
mysql -u -p -e "create database database_name"
Run a single MySQL query from the command line
Your email address will not be published. Required fields are marked *
Comment *
Name*
Email*
Website
Save my name, email, and website in this browser for the next time I comment.
Δ