MySQL 8.0.15 winx64 compression package installation and configuration method graphic tutorial

MySQL 8.0.15 winx64 compression package installation and configuration method graphic tutorial

This article shares the installation and configuration method of MySQL 8.0.15 winx64 compressed package for your reference. The specific content is as follows

1. Download the compressed package from the official website

2. Unzip the package

3. Add a configuration file, officially called option file

Contents of the configuration file my.ini (the path depends on the situation, just change it to your own)

[mysql]
# Set the default character set of the mysql client to default-character-set=utf8 
[mysqld]
#Set port 3306 port = 3306 
# Set the installation directory of mysql #basedir=F:\soft-install\mysql\mysql-install
basedir=F:\soft-install\mysql\mysql-8.0.15-winx64
# Set the storage directory of mysql database data datadir=F://soft-install//mysql//mysql-data
# Maximum number of connections allowed max_connections=200
# The default character set used by the server is the 8-bit latin1 character set character-set-server=utf8
# The default storage engine that will be used when creating a new table default-storage-engine=INNODB

4. Open cmd and execute the command soft-install>mysql\mysql-8.0.15-winx64\bin\mysqld.exe install

5. Initialize the data file mysql\mysql-8.0.15-winx64\bin\mysqld.exe --initialize-insecure --user=mysql --console

Note that datadir in the configuration file my.ini must be in double backslash format. Otherwise it will report an error

After initialization, many files will be generated under the data directory

6. Start the mysql service.

mysql\mysql-8.0.15-winx64\bin\mysql.exe -uroot -p

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:
  • MySQL 8.0.15 installation and configuration tutorial under Win10
  • MySQL 8.0.15 installation and configuration method graphic tutorial under Windows
  • MySQL 8.0.15 winx64 decompression version installation and configuration method graphic tutorial
  • MySQL 8.0.15 download and installation detailed tutorial is a must for novices!
  • MySQL 8.0.15 installation and configuration method graphic tutorial
  • MySQL 8.0.15 installation and configuration graphic tutorial
  • MySQL 8.0.15 installation graphic tutorial and database basics
  • MySQL 8.0.15 installation and configuration graphic tutorial and password change under Linux
  • MySQL 8.0.15 installation and configuration graphic tutorial under Win10
  • MySQL 8.0.15 compressed version installation graphic tutorial

<<:  Detailed steps for installing JDK and Tomcat on Linux cloud server (recommended)

>>:  The process of building a development environment based on visual studio code + react

Recommend

The table tbody in HTML can slide up and down and left and right

When the table header is fixed, it needs to be di...

Detailed analysis and testing of SSD performance issues in MySQL servers

【question】 We have an HP server. When the SSD wri...

In-depth explanation of the global status of WeChat applet

Preface In WeChat applet, you can use globalData ...

How to use Nginx to carry rtmp live server

This time we set up an rtmp live broadcast server...

Detailed steps to install Nginx on Linux

1. Nginx installation steps 1.1 Official website ...

How to use CSS to center a box horizontally and vertically (8 methods)

Original code: center.html : <!DOCTYPE html>...

Detailed steps to install MySQL 8.0.27 in Linux 7.6 binary

Table of contents 1. Environmental Preparation 1....

Detailed explanation of how to dynamically set the browser title in Vue

Table of contents nonsense text The first router/...

8 powerful techniques for HTML web page creation

<br />Although there are many web page creat...

Tkinter uses js canvas to achieve gradient color

Table of contents 1. Use RGB to represent color 2...

In-depth exploration of whether Mysql fuzzy query is case-sensitive

Preface Recently, I have been busy writing a smal...

Detailed tutorial on deploying Django project under CentOS

Basic Environment Pagoda installation service [Py...

Practical example of Vue virtual list

Table of contents Preface design accomplish summa...

Detailed steps to upgrade mysql8.0.11 to mysql8.0.17 under win2008

Upgrade background: In order to solve the vulnera...