当前位置:网站首页>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
边栏推荐
- 从MySQL数据库迁移到AWS DynamoDB
- Installation du compilateur croisé de la plateforme zynq
- Opencv -- yoact case segmentation model reasoning
- VHDL语言实现32位二进制数转BCD码
- Matlab reads multiple fig graphs and then combines them into one graph (in the form of sub graph)
- Network principle | connection management mechanism in TCP / IP important protocol and core mechanism
- AWS EKS 部署要点以及控制台与eksctl创建的差异
- 重剑无锋,大巧不工
- Who will answer the question?
- Set经典小题目
猜你喜欢
[echart] démarrer avec echart
Thought of reducing Governance -- detailed summary of binary search
Gut liver axis: host microbiota interaction affects hepatocarcinogenesis
Hard core chip removal
【时序】基于 TCN 的用于序列建模的通用卷积和循环网络的经验评估
阿里十年技术专家联合打造“最新”Jetpack Compose项目实战演练(附Demo)
针对NFT的网络钓鱼
Bridge between ischemic stroke and intestinal flora: short chain fatty acids
智能电子秤全国产化电子元件推荐方案
2021数学建模国赛一等奖经验总结与分享
随机推荐
MySQL 2013 lost connection to MySQL server during query
matlab讀取多張fig圖然後合並為一張圖(子圖的形式)
Understand the gut organ axis, good gut and good health
Express middleware ② (classification of Middleware)
383. 赎金信
zynq平臺交叉編譯器的安裝
【ICCV 2019】MAP-VAE:Multi-Angle Point Cloud-VAE: Unsupervised Feature Learning for 3D Point Clouds..
QT program integration easyplayer RTSP streaming media player screen flicker what is the reason?
[mapping program design] coordinate azimuth calculation artifact (version C)
无线键盘全国产化电子元件推荐方案
Interaction of diet gut microbiota on cardiovascular disease
Detailed explanation of life cycle component of jetpack
Phishing for NFT
C语言 字符常量
Leetcode->1 两数之和
【测绘程序设计】坐标方位角推算神器(C#版)
三十六计是什么
520.检测大写字母
Qtspim manual - Chinese Translation
上海航芯技术分享 | ACM32 MCU安全特性概述