1: Download the installation package from the official website (under windows. when running the installation of the msi file, you only need to install the server. in the environment variable, configure it to the bin directory: e. g: C: programFile... after mysqlbin is completed, enter netstratamysql56 (56 is the version number) in windowsshell. 1 is mentioned: installation (in windows)
Download the. msi file from the official website
You only need to install the server when running the installation.
Configure the environment variable to the bin directory: e. g: C: \ programFile \... mysql \ bin
After entering net strata mysql56 (56 is the version number) in windows shell, the system prompts "the requested service is enabled" or "starting...", indicating that the configuration is successful.
2: remember that each SQL statement ends!
3: comment
#... Or --... or COMMENT '......'
4: tips: the upper and lower keys on the keyboard in shell can call commands that have been input before/after.
5: general operation:
Mysql-uroot-p;: enter your username after u
Show databases;: check which databases already exist
Use database name;: open an existing database
Show tables;: View tables in the current database
Exit: quit/exit