how to create database using cmd mysql
CREATE DATABASE [IF NOT EXISTS] database_name
[CHARACTER SET charset_name]
[COLLATE collation_name]
how to create database using cmd mysql
CREATE DATABASE [IF NOT EXISTS] database_name
[CHARACTER SET charset_name]
[COLLATE collation_name]
select database in mysql
USE database_name;
Code language: SQL (Structured Query Language) (sql)
mysql select database
//SELECT Database is used in MySQL to select a particular database to work with. This query is used when multiple databases are available with MySQL Server.
//You can use SQL command USE to select a particular database.
Syntax:
USE database_name;
//suppose database name is employee
use employee;
mysql create database
CREATE {DATABASE | SCHEMA} [IF NOT EXISTS] db_name
[create_option] ...
create_option: {
[DEFAULT] CHARACTER SET [=] charset_name
| [DEFAULT] COLLATE [=] collation_name
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us