当前位置:网站首页>MySQL installation
MySQL installation
2022-06-23 14:09:00 【slom_ fxt】
One 、 Download the unzip file ( You can also download the installed version on the official website )
1. Go to the official website to download or go to https://www.mysql.com/downloads/ download
Click on the following
2. Locate the extracted file
3. Download the compressed file ( Download as needed )
4. Unzip in the directory you want to install
Two 、 environment variable : To configure MySQL Under the table of contents bin route
3、 ... and 、 Configure initialized profile my.ini
[mysqld] # Set up 3306 port port=3306 # Set up mysql Installation directory basedir=D:\\mysql-8.0.28 # Remember to use double slashes here \\, I will make a mistake here , But look Other people's tutorial , Some are single slashes . Try it yourself # Set up mysql Database data storage directory datadir=D:\\mysql-8.0.28\\data # Ditto here # 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 and character set used by the client when connecting to the server port=3306 default-character-set=utf8
4. Load profile
1. Run as administrator cmd, Direct input mysqld --initialize --console perform , After execution , There is a jargon Atemporary password is generated for [email protected]: gVQabdEtk4+r
@localhost: After that is root User's initial password , This password will be used later
2. stay cmd In the implementation of mysqld --install MySQL
3. Start the service net start MySQL
4. Login service MySQL -uroot -pgVQabdEtk4+r
5. Change Password
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';
边栏推荐
- Detailed description of Modelsim installation steps
- 微信小程序之在wx:for中绑定事件
- C语言的基本数据类型及其打印输出
- kubernetes日志监控系统架构详解
- 面向 PyTorch* 的英特尔 扩展助力加速 PyTorch
- Google Earth engine (GEE) -- Comparative Case Analysis of calculating slope with different methods
- 何小鹏:如果可以回到创业的时候 不会以自己的名字给产品命名
- 从类、API、框架三个层面学习如何设计可复用软件的学习心得
- Proofs of Elsevier Elsevier Journal (Neptune Neptune) (problems encountered: latex remove the chapter number)
- 智能数字看板解决方案
猜你喜欢

KDD 2022 | epileptic wave prediction based on hierarchical graph diffusion learning

微信小程序之从底部弹出可选菜单

How to solve the task cache compilation problem caused by gradle build cache

2022软科大学专业排名出炉!西电AI专业排名超清北,南大蝉联全国第一 !
![[Course preview] AI meter industry solution based on propeller and openvino | industrial meter reading and character detection](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[Course preview] AI meter industry solution based on propeller and openvino | industrial meter reading and character detection

Drop down menu scenario of wechat applet

实战 | 如何制作一个SLAM轨迹真值获取装置?

腾讯云TDSQL-C重磅升级,性能全面领跑云原生数据库市场

串口、COM、UART、TTL、RS232(485)区别详解

前AMD芯片架构师吐槽,取消 K12 处理器项目是因为 AMD 怂了!
随机推荐
Kali use
What does it mean for AI developers after 2022
Crmeb second open SMS function tutorial
Basic use of stacks and queues
What are the conditions for a mature knowledge management?
Building Intel devcloud
2022 college entrance examination quarterly essay winners announced
【深入理解TcaplusDB技术】 Tmonitor模块架构
leetcode:42.接雨水
Digraph D and e
父母-子女身高数据集的线性回归分析
Generics, generic defects and application scenarios that 90% of people do not understand
构建英特尔 DevCloud
MIT 6.031 reading5: version control learning experience
OpenVINOTM 2022.1中AUTO插件和自动批处理的最佳实践
Tencent cloud tdsql-c heavy upgrade, leading the cloud native database market in terms of performance
When pandas met SQL, a powerful tool library was born
MIT 6.031 Reading5 : Version Control学习心得
C语言的基本数据类型及其打印输出
2022 年以后,对AI开发人员意味着什么




