After database created, select that database for doing database operations like create a table, alter table, and etc. In this tutorial, you will learn MySQL – Select Database with an example.
For selecting the database you can use the below SQL command.
1 | USE database_name; |
Here is the example with created database “mysql_tutorial”, select the created database by using the below query.
1 | USE mysql_tutorial; |