This article shares the installation tutorial of MySQL 8.0.24 for your reference. The specific content is as follows Download address: Official website 1. Unzip the folder 2. Configure environment variables and add the bin directory under mysql to PATH; 3. Create a new my.ini configuration file in the mysql directory 4. Modify the configuration file [mysqld] #Set port 3306 port=3306 #Set the installation directory of mysql basedir=D:\MySQL\mysql-8.0.24\ #Set the storage directory of mysql database data datadir=D:\MySQL\mysql-8.0.24\data\ #Skip password authentication skip-grant-tables 5. Start CMD in administrator mode , switch the path to the bin directory under mysql, and then enter mysqld -install (install mysql service) 6. Enter The data directory will be automatically generated, and there will be some initial databases 7. Enter 8. Use the command This is the first time I get an error. Just restart the service. Note that the password is empty. 9. Change the root password after entering the interface alter user 'root'@'localhost' identified with mysql_native_password by '123456'; 10. Finally, enter 11. Finally, go back and comment out the last sentence in the my.ini file. Restart mysql and it will work normally net stop mysql net start mysql If the connection is successful, it is OK. The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: I have compiled a few cool design sites that I think are good.
>>: Steps to package and release the Vue project
Preface: Vue3.0 implements echarts three-dimensio...
Messy log Nginx in daily use is mostly used as bo...
Introduction MySQL achieves high availability of ...
Sometimes some docker containers exit after a per...
In the process of product design, designers always...
Table of contents Arithmetic operators Abnormal s...
1. haslayout and bfc are IE-specific and standard ...
This article records the detailed installation tu...
This article shares the specific code for JavaScr...
Two cases: 1. With index 2. Without index Prerequ...
I would like to share the Windows Server 2016 act...
You may have noticed that the src or CSS backgroun...
The MySQL version used in this example is mysql-8...
view: Views in MySQL have many similarities with ...
I have a server with multiple docker containers d...