This article records the installation and configuration methods of MySQL 8.0.15 for your reference. The specific contents are as follows Installation package download Link: MySQL official website download address Click the first Download. The difference between the first and second installation packages is that the first file is a zip file, which does not require installation steps, while the second one is an msi file for installation. The zip installation method is selected here. The downloaded icons are as follows: Unzip the installation file Unzip to E:\MySQL\mysql-8.0.15-winx64 And add the bin directory under this file to the environment variables Add my.ini file The file content is written as: [client] port = 3308 default-character-set = UTF8MB4 [mysqld] port = 3308 character-set-server = UTF8MB4 basedir=E:\MySQL\mysql-8.0.15-winx64 datadir=E:\MySQL\mysql-8.0.15-winx64\data group_concat_max_len=20000 [WinMySQLAdmin] E:\MySQL\mysql-8.0.15-winx64\bin\mysqld.exe Open cmd as administrator Execute the command in the bin directory of the MySQL installation directory: mysqld --initialize --console After the execution is complete, the initial default password of the root user will be printed. Remember the default password as it will be used later. mysqld --install MySQL Start the service: net start MySQL change password Execute the command in the bin directory of the MySQL installation directory: mysql -u root -p You will be prompted to enter a password, then enter the default initial password Enter mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456'; Installation and deployment completed 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:
|
<<: React entry-level detailed notes
>>: A brief analysis of the difference between ref and toRef in Vue3
Table of contents UNION Table initialization Exec...
I use Navicat as my database tool. Others are sim...
Table of contents 1. Introduction 2. Installation...
Customize a demo command The syntax of Vue custom...
This article shares the specific code for WeChat ...
Table of contents Preparation Deployment process ...
As shown below: Mainly execute authorization comm...
I followed the tutorial on W3school. I think the t...
There are three main ways of MySQL replication: S...
MySQL 5.0 has become a classic because of its few...
Table of contents The principle and function of l...
Table of contents 1. Let’s start with the conclus...
Table of contents 1. What does shallow copy mean?...
This article shares the specific code of Vue to i...
Database version: mysql> select version(); +--...