当前位置:网站首页>Mysql-8.0.17-winx64 (additional Navicat) manual configuration version installation
Mysql-8.0.17-winx64 (additional Navicat) manual configuration version installation
2022-07-28 06:40:00 【Yandun】
One 、 Download address :
Download decompression
Two 、 Open file
stay mysql Create under folder my.ini file , Copy the contents into the file ;
[client]
# The client port number is 3306
port = 3306
socket =/data/3306/mysql.sock
# Set up mysql Client default character set
default-character-set=utf8
[mysqld]
# Set up 3306 port
port = 3306
user = root
socket =/data/3306/mysql.sock
# Set up mysql Installation directory
basedir=D:\\appinstall\mysql-8.0.17-winx64
# Set up mysql Database data storage directory ,MySQL 8+ The following configuration is not required , The system can be generated by itself , Otherwise, it is possible to report an error
#datadir=D:\\appinstall\mysql-8.0.17-winx64\\data
# Maximum connections allowed
max_connections=20
# The character set used by the server defaults to 8 Bit coded latin1 Character set
character-set-server=utf8
# The default storage engine that will be used when creating a new table
default-storage-engine=INNODBBe careful , When saving this file, open it in Notepad =》 file =》 Save as =》 With ANSI Format preservation

3、 ... and 、 Configure environment variables , stay path Add to bin Folder Lu Jin :D:\appinstall\mysql-8.0.17-winx64\bin
Four 、 Installation command operation
1. Delete data Folder ;
2. Administrator rights CMD Of bin Under the table of contents , Remove incorrectly installed mysqld service ;
dos The command operation :mysqld -remove MySQL
3. stay CMD Of bin Execute under directory
dos The command operation :mysqld --initialize-insecure
You'll find that the program mysql Under the root directory of data Folders and related files
4.bin Execute under directory
dos The command operation :mysqld -install
Service successfully installed.
5.bin Execute under directory mysql Service startup net start mysql
MySQL The service is starting ..
MySQL Service started successfully .
6.dos The command operation :
mysql -u root -p

There is no password at the moment , direct enter Build in

Then enter the command according to the following figure ;
use mysql;
update user set password=password("12345") where user="root"; # Put the user name as root The no password of is changed to 12345

When the execution is finished, there is no error reported above , Explain that you will use the user name root The password of was successfully modified to 12345, If you make a mistake : Here's the picture

The error in the above figure indicates that the statement is wrong , perform :
update mysql.user set authentication_string=password('12345') where user='root';If it's still wrong , Proposed installation navicat, Then open the , Create connection , Password-free login .


Then change it directly to the password you want ,ok;
5、 ... and 、navicat Download installation and registration code problems
Download address :https://download.csdn.net/download/yang1076180972/11458610
The decoding step reprints the address :https://www.jianshu.com/p/5f693b4c9468
Use 5.0 If the version of the registration machine fails to generate decoding , Please use 4.9 Version decoding .
complete !
边栏推荐
- 图形管线基础(番外篇)
- C语言memcpy库函数与memmove的作用
- set_ multicycle_ path
- What's a good gift for your girlfriend on the Chinese Valentine's day in 2022? Practical and beautiful gift recommendation
- 【动态规划--买卖股票的最佳时期系列2】
- OJ 1284 counting problem
- QT painting event - set background picture
- 【详解如何一步步实现三子棋】
- [队列,栈的简单应用----包装机]
- Network communication and tcp/ip protocol
猜你喜欢
随机推荐
Solve the problem that the memory occupation is higher than that of the application process
Feignclient @requestmapping parameter setting and simple method setting of request header
七夕礼物送女生什么好?颜值在线又有心意的礼物推荐
OJ 1253 ordering problem
万字归纳总结并实现各大常用排序及性能对比
SSAO By Computer Shader(二)
刷题记录----二叉树
[PTA----输出全排列]
pyppeteer 下拉 selenium下拉
网络通信及TCP/IP协议
What is the best and most cost-effective open headset recommended
【动态规划--买卖股票的最佳时期系列3】
Leetcode 刷题日记 剑指 Offer II 055. 二叉搜索树迭代器
七夕送什么礼物最实用?送人绝对不会出错的礼物值得买
New Selenium
OJ 1505 fuse
Icc2 (IV) routing and postroute optimization
Leetcode 刷题日记 剑指 Offer II 053. 二叉搜索树中的中序后继
OJ 1451 digital games
OJ 1507 删数问题
![[PTA----输出全排列]](/img/66/d1699cd55fa5ff4a55e3e150d02c1b.png)








