Create database MySQL using command line

Cara membuat database menggunakan cmd

makeeverything5 | Oke everyone, now we will learn how to create database MySQL using command line

First, open XAMPP and run Mysql

Then, open command prompt by press windows+R and type cmd, then hit Enter
 
Third, go to mysql directory by typing

cd\
cd xampp\mysql\bin
mysql -u root -p


For showing database exiting, type :

show databases


In this case, i will create database with the name db_mydatabases. To create database, type the following command :

create database db_mydatabases


Tutorial videos how to create database MySQL using command line



Your databases is ready
thank you

0 Response to "Create database MySQL using command line"

Posting Komentar