Syntax error How can we create our own choice MySQL database?

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: 2020-01-28T10:28:48+05:30

155 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements