1. Download the installation package -Choose the appropriate version according to your computer system: https://dev.mysql.com/downloads/mysql/ 2. Configure environment variables 2.1 Unzip the downloaded compressed package 2.2 Environment variables How to enter Win 10 computer 3. Generate data file In the directory where you unzipped the files, eg: F:\Program Files\mysql-8.0.17-winx64\bin, run cmd as an administrator Execute 4. Install MySQL Execute the command: 5. Start the mysql service 6. Log in and change password When you log in for the first time, there is no password, just enter, mysql -u root -p View user command: select user,authentication_stringfrom mysql.user; Because the encryption rule in versions before MySQL 8 is mysql_native_password, and after MySQL 8, the encryption rule is caching_sha2_password, So if you want Navicat to connect to MySQL, you must modify the MySQL user login password encryption rule to restore it to mysql_native_password. ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; #Modify encryption rules ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; #Update the user's password FLUSH PRIVILEGES; #Refresh permissions ALTER USER 'root'@'localhost' IDENTIFIED BY 'new password'; Modify the password in this way 7. Use navicat to connect to mysql Summarize The above is a detailed tutorial on how to install MYSQL under WINDOWS. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Vue.js implements simple timer function
>>: Quickly solve the problem of slow startup after Tomcat reconfiguration
Introduction to Nginx Nginx is a high-performance...
This article shares with you a graphic tutorial o...
Tab selection cards are used very frequently on r...
Due to the needs of the work project, song playba...
What is MySQL multi-instance Simply put, MySQL mu...
The jquery plug-in implements the dashboard for y...
mysql-5.7.17.msi installation, follow the screens...
Text Shadow text-shadow: horizontal offset vertic...
Import the data exported from the Oracle database...
If the server's images are hotlinked by other...
Table of contents introduction 1. Case Overview 2...
For front-end developers, ensuring that the code ...
Table of contents Question: Case (1) fork before ...
Search online to delete duplicate data and keep t...
<br />Navigation design is one of the main t...