There is MySQL installed on machine but MySQL Workbench is not installed. Generally, we do create the DB using the workbench. Is there any way to create a new Database without using MySQL Workbench?
1 Answer
It can be easily done by using the below command. You can do this via CLI via execute option:
mysql -u username -p -e "CREATE DATABASE `new_database_name_to_create`";