How to use cmd to access mysql quickly. Take window7 as an example. right-click "computer"-click "properties"-click "Advanced System Settings"-click "environment variables". The following figure shows the environment variables in the lower right corner. take window7 as an example, right-click "computer", click "properties", click "Advanced System Settings", and click "environment variables". The following figure is displayed:
<> "Environment variables" in the lower right corner ".
<> Select "PATH" and edit.
<> The variable value is the address of the mysql command directory in the installation and development environment. OK.
OK. Now the configuration is complete. after entering cmd, you can easily use the mysql command:
Mysql-u user-p password (press enter)
Environment-click "properties"-click "Advanced System Settings"-click "environment variables". for the rest, see "environment variables" in the lower right corner. select...