MySQL 8.0.12 download and installation tutorial for your reference, the specific contents are as follows download Download As shown After downloading, unzip the installation package to any folder. I unzip it to drive E. Install 1. After decompression, there is E:\mysql\mysql-8.0.12-winx64, create an empty folder data in it. If this folder already exists, you don’t need to do this step 2. Create a my.ini file, open it with Notepad, and copy the following code into it [mysqld] # Set port 3306 port=3306 # Set the installation directory of mysql basedir=E:\\mysql\\mysql-8.0.12-winx64 # Set the storage directory of mysql database data datadir=E:\\mysql\\mysql-8.0.12-winx64\\Data # Note the double \\ # Maximum number of connections allowed max_connections=200 # The number of connection failures allowed. This is to prevent someone from trying to attack the database system from this host max_connect_errors = 10 # The default character set used by the server is UTF8 character-set-server=utf8 # The default storage engine that will be used when creating a new table default-storage-engine=INNODB # By default, the "mysql_native_password" plug-in is used for authentication. default_authentication_plugin=mysql_native_password [mysql] # Set the default character set of the mysql client to default-character-set=utf8 [client] # Set the default port used by the mysql client to connect to the server port = 3306 default-character-set=utf8 Configuring environment variables
Run the cmd command as an administrator and change the path to the bin directory of mysql Initialize the database, run the command: mysqld –initialize –console Installation Services
###Test whether the installation is successful
change password
Wonderful topic sharing: MySQL different versions installation tutorial MySQL 5.7 installation tutorials for various versions MySQL 5.6 installation tutorials for various versions mysql8.0 installation tutorials for various 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:
|
<<: Summary of how to use bootstrap Table
>>: Implementation of multi-port mapping of nginx reverse proxy
1. Connect Centos7 under VMware and set a fixed I...
Apache Superset is a powerful BI tool that provid...
Ubuntu 18.04 installs mysql 5.7 for your referenc...
1. Create the tomcat installation path mkdir /usr...
<br />This is from the content of Web front-...
1. Description In MySQL, when we need to get the ...
In my previous article, I said that the optimizat...
1. The startup menu is to move the cursor to the ...
Table of contents 1. v-text text rendering instru...
Part 1: Basics 1. Unlike pseudo-classes such as :...
Verification environment: [root@~~/]# rpm -qa | g...
The one above shows the system time, and the one ...
This is my first time writing a blog. I have been...
Table of contents 1. Master-slave synchronization...
Software Version Windows: Windows 10 MySQL: mysql...