Simple operation of MySQL study notes

Simple operation of MySQL study notes

Insert picture description here
The simple operation of MySQL, I learned from a website
https://www.runoob.com/mysql/mysql-select-query.html is simple and easy to understand.
The following is the operation I learned from this page.
Because my MySQL is not on the c drive, so I want to enter my d drive in the MySQL directory
. The commands input are:
d: (meaning to enter the D drive)
cd space (to enter the MySQL directory)
mysql -u root -p (input login information)
Insert picture description here
command create DATABASE RUNOOB; this must be added after; (a database is being built)
Insert picture description here
drop database hmtt; (delete a database)
Insert picture description here
use runoob; select a database,
Insert picture description here
create a data table The
Insert picture description here
details are in that website. There are also some codes for mysq.
Insert picture description here

Buddhism says goodbye. Insufficiency + how to modify, goodbye.

Guess you like

Origin blog.csdn.net/m0_52456045/article/details/113098434