mysql command basic knowledge

Desktop command (cmd) into the mysql client

Step 1: Install mysql, configure the environment variables

 

Step two: manually open service

 

The third step: entering the following:

[-h localhost -P 3306 mysql -u username -p password]

 

Knowledge relevant directives:

use car;          using a library

show databases / tables;      see table and library

desc           table; see table structure

 

Guess you like

Origin www.cnblogs.com/lh-cml/p/11517766.html