MariaDB installation and configuration environment variable tutorial
Double-click the installation interface appears below check on the agreed direct the next step
here must be checked on, UTF8, otherwise there will be garbled, fill in your own account password
directly to the next step
to complete the installation!
The next step is to configure the environment variables, computer → Properties → Advanced System Settings → Advanced → Environment Variables → New System Variable
test whether the configuration run cmd, found the following problem, not an internal or external command
I found that I did not configure user variables, configuration is as follows
enter cmd again, mysql -uroot -p can run, solve the problem