Only Few Seats Left for Advanced Certification Courses on Data Science, ML & AI by E&ICT Academy IIT RoorkeeApply Now
In MySQL, each database is a collection of tables, indexes, views etc.
Creating a database:
mysqladmin -u root -p create mydb1
CREATE DATABASE mydb1;
Dropping a database:
mysqladmin -u root -p drop mydb1
DROP DATABASE mydb1;
Switching to a different database:
When a user connects to MySQL Server, user is not connected to any database by default (until and unless specified in local file .my.cnf).
User has to use
use command to switch and connect to the required database.
No hints are availble for this assesment
Answer is not availble for this assesment