Mysql installation
Although there is version 8 now, but I just started to learn, I still installed the old version
Install the version 5.7.24 format msi
choose the default development method after installation
First time installation (collapse)
This step went wrong, don't know why. . . . Then start the second(n) times
The second way (half collapsed)
Here I still choose custom installation, of course you can also choose the first default installation. I want to change the installation path . There is not enough space on the C drive.
The computer is 64-bit, choose X64 . My computer is actually a dual-python system, but I don’t know why MySQL shows that python3.6 is not installed.
When customizing the path, it keeps reminding The selected path already exists, I was a little guilty, until I saw its prompt (the red line part), it turned out to remind the user to prevent the original data of the target folder from being overwritten and lost , hey...
the installation has been completed ,
there has been a problem here, and later found that it is here in the check requirement , did not perform the installation, but went directly to the next step. . .
The subsequent installation is more routine.
Because it is developing B/S architecture software, choose the second one.
After the installation is complete, you can see a green tick in front.
Open Workbench and enter the database, which is half the success.
Environment variable configuration
If the i environment variable is not configured, you can’t get in from the command line, there will be *"mysql' is not an internal or external command, and it is not a runnable program"*, and there are other problems, so the environment configuration is performed below to directly search for environment variables
, simply and rudely add variables, different systems are different. Win10: If there is no MySQL item in the system variable, you need to create a new one, then select edit in the path item, and directly add the path to install MySQL, there is a missing picture here... After entering cmd, remember to use management Run as a member, otherwise it may report an error again, please explain the principle ! ! !
Finally, the boss recommended me to use navicat
There are a lot of questions and inappropriate ways, so you can communicate more~