1. Search mysql in the browser to download and install Address: https://dev.mysql.com/downloads/mysql/ 2. Download with or without logging in 3. The downloaded file is a compressed package, which can be decompressed directly without installation. 4. Create a new my.ini file with the following content Regarding sql_mode, the error below is because the group by field must be completely displayed in the query column, so if you remove this mode, there will be no error.
5. Then install and configure the mysql directory into the system environment variable path. It is optional, but if it is configured, you can directly type mysql in the dos interface. 6. Use the administrator command mode on the computer to enter the mysql/bin directory and initialize the installation of mysql After entering, if you need to switch drive letters, just d: to switch, then cd mysql directory/bin to enter the bin directory Then enter: 1) mysqld --initialize --console, this command will initialize the my.ini file, build the data directory and other settings. Select the password below with the mouse and press ctrl+c to copy it. Note here that if the my.ini file is modified later and it does not take effect after restarting MySQL, you need to delete the data directory and delete the MySQL service, use the command sc delete service name, and then re-execute the command. 2) Enter: 3) Input: 6. Login and change password Win+R, enter the command line mode, enter: Enter the password copied in step 5 and enter mysql Execute: alter user root@localhost identified by 'root'; Press enter to successfully change the password to root. Do not lose the semicolon after the SQL statement. Summarize This is the end of this article about mysql8.0.20 download and installation and the problems encountered. For more relevant mysql8.0.20 download and installation content, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: How to start the spring-boot project using the built-in linux system in win10
>>: Binary Search Tree Algorithm Tutorial for JavaScript Beginners
Copy code The code is as follows: <style> ....
The Golden Rule No matter how many people are wor...
Record the installation and use of openssh-server...
Standalone hbase, let’s talk about it first. Inst...
Table of contents Overall Effect Listen for conta...
One sentence to introduce HOC What is a higher-or...
1》Be good at web design 2》Know how to design web p...
Table of contents Preface 1. Overview 2. Read-wri...
Traditionally, developers create properties in Ja...
We know that in general, a function must be calle...
1. Set up Chinese input method 2. Set the double ...
Running environment, Idea2020 version, Tomcat10, ...
Scenario 1: To achieve a semi-transparent border:...
There are many import methods on the Internet, an...
This article shares the specific code of JavaScri...