当前位置:网站首页>MySQL mysql-8.0.19-winx64 installation and Navicat connection
MySQL mysql-8.0.19-winx64 installation and Navicat connection
2022-06-25 17:38:00 【Green Lantern swordsman】
It took a bit of effort , So write it down .
the front :mysql There is no desktop visualization , Tools are needed to show , such as :navicat.
One 、 install mysql
(1) Official website installation .
There is... On the official website 2 A version .zip and .msi. I took a look .msi Version not found 64 Bit , Then download it. .zip edition 64 It's all right .
After you click in , You don't have to register , Direct selection “No thanks, just start my download”
(2) After the download , decompression . Will file mysql-8.0.19-winx64 Put it where you usually install the software , My own address is “C:\install”.
(3) Configure environment variables . stay Path Add below C:\install\mysql-8.0.19-winx64\bin.
(4) To configure my.ini file .
stay C:\install\mysql-8.0.19-winx64\bin Create a new one in .txt file , Change it to my.ini, Copy the following onto , Note: modify the suffix to .ini.
[mysqld]
# Set up 3306 port
port=3306
# Set up mysql Installation directory
basedir=C:\install\mysql-8.0.19-winx64\bin
# Set up mysql Database data storage directory
datadir=C:\Program Files\mysql-8.0.19-winx64\data
# 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=utf8
# 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
[mysql]
# Set up mysql Client default character set
default-character-set=utf8
[client]
# Set up mysql The default port when the client connects to the server
port=3306
default-character-set=utf8
after , sign out linux Environmental Science , Reuse Login as Administrator powershell.
(5) initialization mysql And start the
Initialization command
mysqld --initialize --console
Be careful : The database password will be printed here , Remember the password , We'll use that later .
(6) install MySQL service :mysqld --install
(7) Start the server
sign out , Re enter linux Environmental Science . Enter the command
net start mysql
Other orders are :
Stop service order :net stop mysql.
uninstall MySQL The service command :sc delete MySQL/mysqld -remove
(8) Login database command
mysql -u root -p
This will let you enter your password . After inputting the password, you will enter MySQL The command mode of
(9) You must change the password after entering
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY ' New password ';
Be careful : Change Password , Pay attention to the end of the order ; Be sure to have , This is a mysql The grammar of
(10) Here we are , The installation and deployment is complete . Officials say the speed of the test MySQL8 Than 5 Twice as fast .
It can be used Command to view the default installed database :
show databases;
use mysql;
show tables;
Two 、navicat install
I started from csdn Download a with a registration machine . It's easy to use happy. The version is navicat120_premium
Installation steps :
(1) First choose 64/32 Bit version , then ( Administrator mode ) hold navicat120_premium Install it in the place you like .
(2) Be sure to use Administrator mode to run the registry PatchNavicat.exe.
3、 ... and 、navicat link mysql database
It's simple .
(1) Choose... In the upper right corner “ file ”–>“ New link ”–>“mysql”.
(2) Fill in Mysql Information about
【 Connection name : Name of the new database , Here is “ Local ”】;
【 host : Your own ip Address or enter directly ’localhost’】;
【 port : Generally default 3306】( View our my.ini);
【 user name : The default is ‘root’】;
【 password : Get into mysql Password set when command 】–>【 determine 】.
Then click the established connection to view the database contents .
边栏推荐
- Sword finger offer II 012 The sum of left and right subarrays is equal
- 使用DiskGenius拓展系統盤C盤的容量
- 【编译原理】词法分析
- BILSTM和CRF的那些事
- Golang sort slice int
- RuntimeError: Trying to backward through the graph a second time (or directly access saved variable
- Learn Tai Chi Maker - mqtt (III) connect to mqtt server
- WARNING: Unsupported upgrade request.
- [matlab] curve fitting
- 通过深度可分离卷积神经网络对七种表情进行区分
猜你喜欢

UART波特率对时钟精度的要求有多高?

揭秘GES超大规模图计算引擎HyG:图切分
![[UVM practice== > episode_2] ~ VIP, VIP development, VIP release](/img/de/4befb321d5cf5b0aa630e9ad0fda2a.png)
[UVM practice== > episode_2] ~ VIP, VIP development, VIP release

超全金屬PBR多通道貼圖素材網站整理

ACY100油烟浓度在线监控仪针对饮食业厨房油烟排放

Win10开启热点共享后断网怎么解决?

通过深度可分离卷积神经网络对七种表情进行区分

【UVM实战 ===> Episode_1 】~ MCDF设计更新、AMBA标准接口、UVM验证环境更新
![Jerry's system clock setting is reset or invalid [chapter]](/img/c6/ee6b287af7d309f98abda8e11d674c.png)
Jerry's system clock setting is reset or invalid [chapter]

Use diskgenius to expand the capacity of system disk C
随机推荐
golang sort slice int
TCP chat + transfer file server server socket v2.8 - fix 4 known problems
Sword finger offer II 035 Minimum time difference
ACY100油烟浓度在线监控仪针对饮食业厨房油烟排放
Assembly language (5) register (memory access)
TLV解码
Best practices for data relocation: using CDM to relocate offline Mysql to DWS
【编译原理】词法分析
Under the same WiFi, the notebook is connected to the virtual machine on the desktop
Sword finger offer II 014 A sliding window of anagrams in strings
VSCode 自动生成头文件的#ifndef #define #endif
[UVM practice== > episode_1] ~ MCDF design update, AMBA standard interface, UVM verification environment update
HMS Core机器学习服务实现同声传译,支持中英文互译和多种音色语音播报
用户调度问题
什么是公链开发?公链开发项目有哪些?
UART波特率对时钟精度的要求有多高?
有关QueryInterface函数
conda 修改镜像源
Utilisation de diskgenius pour augmenter la capacité du disque système C
杰理之系统时钟设置出现复位或无效问题【篇】