当前位置:网站首页>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 !
边栏推荐
- 刷题记录----二叉树的层序遍历
- OJ 1129 fraction matrix
- OJ 1020 minimum palindromes
- 开放式耳机推荐哪款最好、性价比最高的开放式耳机
- OJ 1505 fuse
- 气传导蓝牙耳机怎么样、最值得入手的气传导耳机
- Pyppeteer is recognized to bypass detection
- 2022-07-19 Damon database - instance creation and management
- What's a good gift for your girlfriend on the Chinese Valentine's day in 2022? Practical and beautiful gift recommendation
- Several methods of QT setting loading interface
猜你喜欢
随机推荐
【动态规划--买卖股票的最佳时期系列】
NFT数藏盲盒+模式系统开发
QT implementation outputs relevant information to log file
2022年七夕送女朋友什么礼物好?实用且好看的礼物推荐
气传导蓝牙耳机怎么样、最值得入手的气传导耳机
OpenGL quick configuration method
C语言的编译和预处理
气传导蓝牙耳机什么牌子好、气传导耳机最好的品牌推荐
Leetcode 刷题日记 剑指 Offer II 055. 二叉搜索树迭代器
New Selenium
Bug experience related to IAP jump of stm32
Leetcode brush questions diary sword finger offer II 047. Binary tree pruning
2022-07-19 达梦数据库-实例创建和管理
Leetcode 刷题日记 剑指 Offer II 047. 二叉树剪枝
Valgrind tool
OJ 1507 删数问题
Battle plague Cup -- my account book
七夕送什么礼物最实用?送人绝对不会出错的礼物值得买
藏宝计划TPC系统开发Dapp搭建
OJ 1089 Spring Festival travel





![OpenGL development environment configuration [vs2017] + frequently asked questions](/img/29/cefa8601310caf56ae9605cbf7fbbf.png)
![[PTA----树的遍历]](/img/d8/260317b30d624f8e518f8758706ab9.png)


![[c语言]简易通讯录的实现](/img/75/8f2f4dd1c166808047cda6bea5a746.png)