In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The latest installation and configuration of MySQL5.7 in 2018 is divided into four steps, in which the configuration of environment variables is not required.
1. Download the installation package
2. Installation process
3. Configuration of environment variables
4. Connection test
Download the MYSQL installation package on the official website
1. Go to the official website and download the link: https://dev.mysql.com/downloads/installer/
two。 Choose the right version of your computer system to install. If you have a network, choose the version installed online, and here I choose the second one and click DownLoad (Note: if you can't find version 5.7, click the link on the right to find it) to go to the download page.
3. Select "No thanks,just start my download"
4. Select the download location and start the download.
Second, detailed installation steps
Double-click to open mysql-installer-community-5.7.23.0.msi and check "agree", as shown in the figure.
Then click next,check Requirement all the way without selecting any additional components, select yes in the pop-up box. Order where there is an execute.
The port number remains at 3306 by default
Set password
Then there is next or execute, just click on it.
Do a simple check
Until the following step occurs, the installation is complete and the configuration begins.
III. Configuration of environmental variables (optional)
This step is not necessary, you do not have to configure it. So why configure it?
Because the command to use mysql on the CMD command console is reported to be unrecognized, you must go to the installation path of mysql, and configure it for convenience.
Right-click "my computer / this computer", click "Properties" and follow the figure below
Select "path", then click "Edit" to put% MYSQL_HOME%\ bin; in the path. Pay attention to the front semicolon.
IV. Connection testing
Test whether the environment variable is in effect. If you use the mysql-u username-p password before configuring the environment variable, it is not recognized. As shown in the following figure, the configuration is successful!
Test 2: this can be tested when you complete step 3, and there is no need to configure environment variables. Use the command console that comes with MySQL to test the connection and find it under all programs. If you can successfully connect, it means that the installation is successful!
Test 3: use a database connection tool such as navicat,sqlyog. If you can successfully connect, it means that the installation is successful!
The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.