Database installation is not an internal or external command appears

MariaDB installation and configuration environment variable tutorial

Double-click the installation interface appears below Double-clickcheck on the agreed direct the next step
Here Insert Picture Description
here must be checked on, UTF8, otherwise there will be garbled, fill in your own account password Here Insert Picture Description
directly to the next step Here Insert Picture Description
to complete the installation! Here Insert Picture Description
The next step is to configure the environment variables, computer → Properties → Advanced System Settings → Advanced → Environment Variables → New System Variable
Here Insert Picture Description
test whether the configuration run cmd, found the following problem, not an internal or external command

Here Insert Picture Description
I found that I did not configure user variables, configuration is as follows Here Insert Picture Description
enter cmd again, mysql -uroot -p can run, solve the problem
Here Insert Picture Description

Released two original articles · won praise 0 · Views 20

Guess you like

Origin blog.csdn.net/weixin_46493881/article/details/104800214