Registrations Closing Soon for DevOps Certification Training by CloudxLab | Registrations Closing inEnroll 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