How can we create our own choice MySQL database?


CREATE DATABASE db_name can be used to create our own choice MySQL database. For example to create a database named Sample, we should have to run the command as follows −

mysql> CREATE DATABASE Sample;

Query OK, 1 row affected (0.04 sec)

Updated on: 28-Jan-2020

74 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements