当前位置:网站首页>mysql 8.0.29 winx64. Graphic tutorial of zip installation and configuration method
mysql 8.0.29 winx64. Graphic tutorial of zip installation and configuration method
2022-06-10 02:18:00 【1024 Q】
win11 install mysql8 Latest compressed package version , For your reference , The details are as follows
1、 download mysql

2、 decompression

3、 Initialize the database and install the startup service
Open as administrator CMD Command console
cd c:/dbs/mysql-8.0.29/bin Get into mysql8.0.29 Catalog
mysqld --initialize-insecure initialization , It will automatically be in c:/dbs/mysql-8.0.29/data Build directory
mysqld install Installation services , The service name is mysql
net start mysql Open database service
net stop mysql Shut down the database service
mysqld remove Uninstall service
If you want to view the service through the window , In operation, you can enter services.msc Open service window

4、 Log in to the server to test
C:\Users\webrx>cd \C:\>cd dbs\mysql-8.0.29C:\dbs\mysql-8.0.29>cd bin# Log in to this machine -hlocalhost -uroot -p Empty no password -P3306 Don't write C:\dbs\mysql-8.0.29\bin>mysql -urootWelcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 8Server version: 8.0.29 MySQL Community Server - GPLCopyright (c) 2000, 2022, Oracle and/or its affiliates.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql> select @@hostname,@@port,@@version,@@basedir,@@datadir,now();+------------+--------+-----------+----------------------+---------------------------+---------------------+| @@hostname | @@port | @@version | @@basedir | @@datadir | now() |+------------+--------+-----------+----------------------+---------------------------+---------------------+| wp | 3306 | 8.0.29 | C:\dbs\mysql-8.0.29\ | C:\dbs\mysql-8.0.29\data\ | 2022-05-11 14:25:17 |+------------+--------+-----------+----------------------+---------------------------+---------------------+1 row in set (0.00 sec)mysql> show databases;+--------------------+| Database |+--------------------+| information_schema || mysql || performance_schema || sys |+--------------------+4 rows in set (0.02 sec)mysql> select host,user,plugin from mysql.user;+-----------+------------------+-----------------------+| host | user | plugin |+-----------+------------------+-----------------------+| localhost | mysql.infoschema | caching_sha2_password || localhost | mysql.session | caching_sha2_password || localhost | mysql.sys | caching_sha2_password || localhost | root | caching_sha2_password |+-----------+------------------+-----------------------+4 rows in set (0.00 sec)mysql> create user admin identified with mysql_native_password by 'admin';Query OK, 0 rows affected (0.01 sec)mysql> grant all on *.* to admin;Query OK, 0 rows affected (0.00 sec)mysql> flush privileges;Query OK, 0 rows affected (0.00 sec)mysql> select host,user,plugin from mysql.user;+-----------+------------------+-----------------------+| host | user | plugin |+-----------+------------------+-----------------------+| % | admin | mysql_native_password || localhost | mysql.infoschema | caching_sha2_password || localhost | mysql.session | caching_sha2_password || localhost | mysql.sys | caching_sha2_password || localhost | root | caching_sha2_password |+-----------+------------------+-----------------------+5 rows in set (0.00 sec)5、 Use sqlyog Connect mysql8.0.29
Be careful : Low version of the sqlyog(13.1.1 And the following ) Can't recognize mysql The new version (5.7-8) Encryption mechanism (caching_sha2_password)
You have to use admin user ( Steps in 4 Using the old encryption mechanism established in (mysql_native_password) Users of ) Sign in


边栏推荐
- What does the server stop responding mean and how to troubleshoot it?
- The sideline income is three times as much as I do as a programmer. What is life like on side B outside of work?
- 3. NLP model
- Catering e-procurement scheme: procurement cycle management, saving 30% of the cost
- Chicken and rabbit in the same cage
- 2、自然语言处理入门
- Pat (advanced level) practice 1001 a+b format (Analog)
- mysql路径添加至系统环境变量(win10)
- LabVIEW在波形图或波形图表上显示时间和日期
- Data product learning - real time computing platform
猜你喜欢

mysql路径添加至系统环境变量(win10)

餐饮电子采购方案:采购全周期管理,节省30%成本

Unity netcode for GameObject 1.0.0 learning notes (I) - Hello World demo
![[program life]](/img/90/347b53a5725beec9107c49f8add148.png)
[program life] "stage summary" - at a loss

复杂模型机实验

MySQL表管理(文件)

WPS adjust text spacing

Lm03 who told you that cross species must be arbitraged?

Environment configuration and initial compilation of source code analysis of virtual engine ue4.26

机智云轻网关服务,提升生产管理效率
随机推荐
Catering e-procurement scheme: procurement cycle management, saving 30% of the cost
服务器停止响应是什么意思,该如何排查?
OpenSUSE auto mount hard disk
10 common high-frequency business scenarios that trigger IO bottlenecks
Full score after 5 years of "research" and 3 years of "actual combat"
开放世界如何设计 | Pascal Luban分享笔记
What are the challenges facing energy project management? Skills and tools for successfully managing energy projects
Add MySQL path to system environment variable (win10)
[win] the browser cannot open the web page and DNS appears_ PROBE_ FINISHED_ NO_ INTERNET
复杂模型机实验
Flutter series: foundation of material theme - materialapp
Detailed billing information tables of cptevents and drgcodes (XIII)
28. How much do you know about subject management?
How to replace or disable the default blue favicon ICO Icon
Customized page (e.g. website map) button beautification tutorial at the bottom of WordPress website
力扣每日一题-第17天-349.两个数据的交集
JS sequence to obtain the distance between two places
MongoDB 学习整理(概念解析)
pixi. JS tile background
MOSFET 9n90 parameters of asemi, 9n90 circuit diagram, 9n90 physical diagram