This article records the installation tutorial of MySQL 8.0.11 under Windows for your reference. The specific contents are as follows 1. Official download mysql-8.0.11-winx64.zip 2. Unzip the downloaded file to the installation directory (currently D:\mysql-8.0.11) 3. Create the my.ini file (currently placed in the D:\mysql-8.0.11 directory) [mysql] #Set the default character set of MySQL client default-character-set=utf8mb4 [mysqld] default_password_lifetime=0 #Set port 3307 port=3307 #Set the installation directory basedir=D:\mysql-8.0.11\ #Data storage directory datadir=D:\mysql-8.0.11\data\ #Maximum number of connections allowed max_connections=200 #The default character set used by the server character-set-server=utf8mb4 #Default storage engine for creating new tables default-storage-engine=INNODB # case insensitive lower_case_table_names=1 #Authentication method default_authentication_plugin=mysql_native_password 4. Open the win command window as an administrator 5. Create a data directory (the data path is consistent with the data storage directory set in my.ini) mkdir D:\mysql-8.0.11\data 6. Execute the cd command to enter the bin folder 7. Execute in the command window mysqld --defaults-file=D:\mysql-8.0.11\my.ini --initialize --console 8. Install the MySQL service in the command window (name it as: MySQL-8) mysqld install MySQL-8 9. Open the service panel and start the service 10. Log in to MySQL and change the password mysql -uroot -p -hloalhost -P3307 ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '******'; Wonderful topic sharing: Installation tutorials for different versions of MySQL Installation tutorials for MySQL 5.7 versions Installation tutorials for MySQL 5.6 versions 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:
|
<<: How to use nodejs to write a data table entity class generation tool for C#
>>: How to recompile Nginx and add modules
Enter the running container # Enter the container...
Table of contents 0x01 Failed to load the driver ...
Table of contents 1. When the mouse passes over t...
Regarding the connection method between Java and ...
The scope of nginx configuration instructions can...
Database backup #grammar: # mysqldump -h server-u...
Mysql Workbench is an open source database client...
Overview This article will introduce the MVC arch...
This article example shares the specific code of ...
1. What is mycat A completely open source large d...
A static node is fixed on a machine and is starte...
yum quick install mysql Add yum repository rpm -U...
By turning on the Recycle Bin function, you can r...
The following is a bar chart using Flex layout: H...
A very common scenario in react projects: const [...