Xiaobai Mysql5.7 installation

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)

insert image description here
insert image description here
insert image description here
something went wrong here
This step went wrong, don't know why. . . . Then start the second(n) times

The second way (half collapsed)

start
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.
insert image description here
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.
insert image description here
Overwrite
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...
insert image description here
insert image description here
insert image description here
the installation has been completed ,
insert image description here
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. . .
Remember to click execute
The subsequent installation is more routine.
insert image description here
insert image description here
Because it is developing B/S architecture software, choose the second one.
set password
Curious, add a user
insert image description here
insert image description here
After the installation is complete, you can see a green tick in front.
you're done
Open Workbench and enter the database, which is half the success.
insert image description here

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
insert image description here
, 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 ! ! !
insert image description here
insert image description here

insert image description here
insert image description here

Finally, the boss recommended me to use navicat

There are a lot of questions and inappropriate ways, so you can communicate more~

Guess you like

Origin blog.csdn.net/weixin_54594861/article/details/115465244