Create Database Using MySQLadmin

You can create a MySQL database from the command line. Make sure you have a access for creating a database.

Below command will create a database using command line.

[root@host]# mysqladmin -u root -p create EMPLOYEE
Enter password:****** 
(If you haven’t set any password, keep it bank, otherwise you should have to enter password)  

 

Leave a Reply

Your email address will not be published. Required fields are marked *