In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article shows you how to install mysql 8.0.15 in the Win10 system, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
Step 1: install the MySQL service
What is downloaded here is a compressed file, which can be unzipped directly to the path where you want to install it. I installed it directly on disk C.
The path of the decompressed file is as follows:
Run the command line as an administrator on a Windows system
The command line tool started here starts with Windows- > system32
Next, use the command line tool to go to the bin directory in the MySQL installation file you just extracted.
Then type mysqld-install to wait for the installation service. Notice that there is a space in the middle.
I have already installed it here, so the prompt service has been installed, and if it is not installed before, it will prompt 'Service successfully installed.'
Step 2: configure MySQL
After entering the bin directory on the command line, type 'mysqld-- initialize--insecure', enter, and then type' mysqld-- initialize', in the bin directory again. This will generate a 'data' directory under the' mysql-8.0.15-winx64' directory.
Include a '.err' file in the 'data'' directory. The file name is your computer user name, and you can see it by opening it in notepad.
The red flag is the initial password of the MySQL, which will be used later.
Next, create a new file in '.ini' format in the 'mysql-8.0.15-winx64' directory, then enter the following code in it and save it:
Note the contents of basedir and datadirde.
Step 3: start the MySQL service
Enter the login command 'mysql-u root-password, and then enter the previous password as prompted:
You can also change the password with the following command:
Display the contents of the database through 'show databases;', be careful not to lose the English semicolon
Use the quit command to exit MySQL
Step 4: configure environment variables
Right-click 'this computer'-'Properties'-'Advanced system Settings'-'Environment variables'
Add'C:\ mysql-8.0.15-winx64\ bin\'to the Path' path of the 'user variable' and save it so that you can start MySQL directly from the command line tool later without first entering the 'bin' directory.
The above is how to install mysql version 8.0.15 in Win10 system. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
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.