当前位置:网站首页>win10, mysql-8.0.26-winx64. Zip installation
win10, mysql-8.0.26-winx64. Zip installation
2022-04-23 04:32:00 【The hunter is eating meat】
List of articles
1、 download mysql-8.0.26-winx64.zip
Download address : https://dev.mysql.com/downloads/mysql/,
As shown in the figure below :
2、mysql-8.0.26-winx64.zip decompression
take mysql-8.0.26-winx64.zip
Unzip to D:\dev_tools\mySQL\mysql-8.0.26-winx64
, As shown in the figure below :
3、 To configure my.ini
my.ini
The contents are as follows :
[mysqld]
# Set up 3306 port
port=3306
# Set up mysql Installation directory
basedir=D:/dev_tools/mySQL/mysql-8.0.26-winx64
# Set up mysql Database data storage directory
datadir=D:/dev_tools/mySQL/mysql-8.0.26-winx64/data
# Buffer directory
tmpdir=D:/dev_tools/mySQL/mysql-8.0.26-winx64/tmp
# Maximum connections allowed
max_connections=200
# Number of connection failures allowed . This is to prevent someone from trying to attack the database system from the host
max_connect_errors=10
# The character set used by the server defaults to UTF8
character-set-server=utf8mb4
# The default storage engine that will be used when creating a new table
default-storage-engine=INNODB
# By default “mysql_native_password” Plug in authentication
default_authentication_plugin=mysql_native_password
# Between high and low versions , Date compatibility optimization
explicit_defaults_for_timestamp=true
[mysql]
# Set up mysql Client default character set
default-character-set=utf8mb4
[client]
# Set up mysql The default port when the client connects to the server
port=3306
default-character-set=utf8mb4
take my.ini
Save to mysql-8.0.26-winx64
root directory .
establish data
、tmp
Catalog .
4、 Configure environment variables
4.1、 establish MYSQL_HOME
MYSQL_HOME = D:\dev_tools\mySQL\mysql-8.0.26-winx64
4.2、 Add to Path environment variable
stay Path In the environment variables add to
%MYSQL_HOME%\bin
, As shown in the figure below :
5、MySQL initialization
stay cmd Command line , Enter the following command :
mysqld --initialize --console
If initialization is successful , At the end of the last line is the password , Remember that .
6、 install 、 start-up MySQL
6.1、 install MySQL service
install MySQL service , stay cmd Command line , Enter the following command :
mysqld --install mysql80
Service successfully installed.
Indicates successful installation .
6.2、 start-up MySQL service
stay cmd Command line , Enter the following command :
net start mysql80
The prompt message indicates MySQL Successful launch .
7、 Get into MySQL Command mode of
stay cmd Command line , Enter the following command :
mysql -u root -p
next , Input password (MySQL On initialization , The default password given ),
You can get into MySQL Command mode of .
8、 Change Password
stay MySQL In command mode , You can change the password .
take root Password set to 123456, As shown in the figure below :
ALTER user 'root'@'localhost' IDENTIFIED BY '123456';
版权声明
本文为[The hunter is eating meat]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230417436107.html
边栏推荐
- Unipolar NRZ code, bipolar NRZ code, 2ASK, 2FSK, 2PSK, 2DPSK and MATLAB simulation
- Go 语言中的 logger 和 zap 日志库
- C语言: 指针的进阶
- mysql table 中增加列的SQL语句
- Coinbase: basic knowledge, facts and statistics about cross chain bridge
- Summary of Android development posts I interviewed in those years (attached test questions + answer analysis)
- 智能电子秤全国产化电子元件推荐方案
- Stm32f4 MCU ADC sampling and FFT of ARM-DSP Library
- [AI vision · quick review of today's sound acoustic papers, issue 2] Fri, 15 APR 2022
- 【BIM+GIS】ArcGIS Pro2.8如何打开Revit模型,BIM和GIS融合?
猜你喜欢
第四章 --- 了解标准设备文件、过滤器和管道
IDE Idea 自动编译 与 On Upate Action 、 On Frame Deactivation 的配置
【ICCV 2019】MAP-VAE:Multi-Angle Point Cloud-VAE: Unsupervised Feature Learning for 3D Point Clouds..
补充番外14:cmake实践项目笔记(未完待续4/22)
【BIM+GIS】ArcGIS Pro2.8如何打开Revit模型,BIM和GIS融合?
兼容NSR20F30NXT5G的小体积肖特基二极管
Nature medicine reveals individual risk factors of coronary artery disease
Express中间件②(中间件的分类)
Cortex-M3寄存器组、汇编语言与C语言的接口介绍
Unipolar NRZ code, bipolar NRZ code, 2ASK, 2FSK, 2PSK, 2DPSK and MATLAB simulation
随机推荐
Chlamydia infection -- causes, symptoms, treatment and Prevention
TreeSet after class exercises
VHDL implementation of 32-bit binary to BCD code
Bridge between ischemic stroke and intestinal flora: short chain fatty acids
520.检测大写字母
国外LEAD,联盟经理常见问答
Matlab minimalist configuration of vscode configuration
Go 语言中的 logger 和 zap 日志库
zynq平台交叉编译器的安装
Basic introduction to spot gold
IEEE Transactions on Systems, Man, and Cybernetics: Systems(TSMC)投稿须知
协程与多进程的完美结合
2020 is coming to an end, special and unforgettable.
Single chip microcomputer serial port data processing (2) -- ucosiii + cyclic queue receiving data
阿里云IoT流转到postgresql数据库方案
matlab讀取多張fig圖然後合並為一張圖(子圖的形式)
mysql table 中增加列的SQL语句
Go反射法则
zynq平臺交叉編譯器的安裝
IEEE Transactions on Industrial Informatics(TII)投稿须知