Contents
Different ways to connect with MySQL
Create, View and Delete Database
Different ways to connect with MySQL
1. Using MySQL Command Line Client
2. Using MySQL Workbench
Using MySQL Command Line Client
Search MySQL 8.0 Command Line Client in Windows Search Field
Enter Password
MySQL Welcome Screen
View/ Create /Delete Database
Display all existing database
show databases;
Display Currently Active Database
select database();
Choose Database
use database_name;
Create New Database
create database mydb;
Delete Existing database
drop database mydb;
Connecting with MySQL Using MySQL Workbench
Open MySQL Workbench
Click on Local Instance
Enter Password, Click on OK
Click on Schema
Right click on blank space and Click on create schema
Enter Name and click on Apply button