当前位置:网站首页>Binary installation MySQL initialization password problem
Binary installation MySQL initialization password problem
2022-07-19 08:56:00 【Direct_】
List of articles
Binary installation mysql Initialization password problem
For binary installation, please refer to https://blog.csdn.net/D1179869625/article/details/125213724
1. Save the initialization password to the log file
# Use --initialize Parameter initialization mysql Password generated when , Save the password in log In the log
bin/mysqld --initialize --user=mysql --datadir=/usr/local/mysql/data --basedir=/usr/local/mysql --log_error=/usr/local/mysql/mysql-files/mysql.log
2. Do not create initialization password
# Use --initialize-insecure Parameter initialization , Initialized at this time root There is no initial password
bin/mysqld --initialize-insecure --user=mysql --datadir=/usr/local/mysql/data --basedir=/usr/local/mysql --log_error=/usr/local/mysql/mysql-files/mysql.log
边栏推荐
- Event loop, macro task, micro task
- 【虹科】激光雷达安全系统:让世界更安全
- [leetcode] general operation summary
- 什么是内存溢出
- 2022年夏令营难忘的一天
- 小说里的编程 【连载之十三】元宇宙里月亮弯弯
- 【Port 3000 is already in use,3000端口被占用问题解决方法】
- scratch逆序输出 电子学会图形化编程scratch等级考试四级真题和答案解析2022年6月
- MySQL存储函数和触发器
- 解决ApplicationEventMulticaster not initialized - call ‘refresh‘ before multicasting events异常
猜你喜欢

Graphite thickness measurement
![[regression prediction] lithium ion battery life prediction based on particle filter with matlab code](/img/1d/5562934499edfb4781b1118d0c4f9c.png)
[regression prediction] lithium ion battery life prediction based on particle filter with matlab code

2022 Guangdong Provincial Safety Officer a certificate, the third batch (main person in charge) exercise questions and mock examination

数据湖(二十):Flink兼容Iceberg目前不足和Iceberg与Hudi对比

分布式事务-最大努力通知方案

解决接口跨域问题和node操作MySQL

Baidu Apollo

Magic Usage of mongodb $symbol +mongo data type

Express

Sorting out of neural network basics exercises in the second week of in-depth study
随机推荐
Cocos Shader入门基础七
pygame中display模块
【回归预测】基于粒子滤波实现锂离子电池寿命预测附matlab代码
Distributed transaction reliable message final consistency solution
Exchange array elements without creating temporary variables
【虹科】激光雷达安全系统:让世界更安全
QT串口通信
[Hongke] Introduction to genicam protocol
Qt之Qprocess
How to write a string field in MySQL if its value is not empty?
LeetCode 0115.不同的子序列
【手写数字识别】基于Lenet网络实现手写数字识别附matlab代码
【虹科】GenICam协议入门
分库分表
LabVIEW用了多线程,程序是不是会跑的更快些
小说里的编程 【连载之十一】元宇宙里月亮弯弯
Redis
Markdown(5):锚链接
QR分解求矩阵逆--c工程实现
什么是内存溢出