当前位置:网站首页>Problems encountered in using MySQL
Problems encountered in using MySQL
2022-06-25 16:45:00 【Niu you Dao Xue Mian】
1、 Problem description
this morning mysql Still using , In the afternoon , Just say my password is wrong and I can't log on .
But I have never touched any other configuration ?
2、 terms of settlement
Here I reload mysql. If you don't have important data, you can do this . If there's important data , Try backing up your data first .
- First delete all mysql The dependent libraries
sudo pacman -R mysql libmysqlclient mysql-clients
- Then delete mysql Configuration file for ( Go to the super user interface first )
cd /var/lib/mysql
rm -rf *
- install mysql
sudo pacman -S mysql
- initialization mysql( This step obtains mysql Initial password )
sudo mysqld --initialize --user=mysql --basedir=/usr --datadir=/var/lib/mysql

- restart mysql( Be careful , Be sure to restart mysql)
sudo systemctl restart mysqld
- land mysql( Use your initial password )
mysql -u root -p

- Change Password
Get into mysql in the future , Reset password .
I really appreciate it , Because there is no restart step , I've done it dozens of times ...
边栏推荐
- Apijson simple to use
- 微信公众号服务器配置
- 【蓝桥杯集训100题】scratch指令移动 蓝桥杯scratch比赛专项预测编程题 集训模拟练习题第14题
- Optimization of lazyagg query rewriting in parsing data warehouse
- What processes are needed to build a wechat applet from scratch?
- The textfield is encapsulated by the flutter itself, which causes the data display to be disordered when the data in the list is updated.
- What is backbone network
- 【 apprentissage automatique】 cas de prévision et d'analyse de l'examen d'entrée à l'Université basé sur des séries chronologiques multiples
- 解析数仓lazyagg查询重写优化
- Process control and method
猜你喜欢

【机器学习】基于多元时间序列对高考预测分析案例

Reading mysql45 lecture - index continued

根据先序遍历和中序遍历生成后序遍历

【機器學習】基於多元時間序列對高考預測分析案例

软件测试面试如何正确谈薪

The problem of missing precision of kettle table input components

Day_ ten

完美洗牌问题
![[100 questions of Blue Bridge Cup intensive training] scratch command mobile Blue Bridge Cup scratch competition special prediction programming question intensive training simulation exercise question](/img/45/9955c9a5edeaa681f3fa8ce4041bfe.png)
[100 questions of Blue Bridge Cup intensive training] scratch command mobile Blue Bridge Cup scratch competition special prediction programming question intensive training simulation exercise question

3.条件概率与独立性
随机推荐
First knowledge of database
What exactly is a handler
DOM event flow, event delegate
Day_ ten
Flutter assembly
【机器学习】基于多元时间序列对高考预测分析案例
App测试工具大全,收藏这篇就够了
20省市公布元宇宙路线图
Activation and value transfer of activity
论文笔记:Generalized Random Forests
Precautions for function default parameters (formal parameter angle)
Day_ eleven
論文筆記:LBCF: A Large-Scale Budget-Constrained Causal Forest Algorithm
File operation, serialization, recursive copy
Generate post order traversal according to pre order traversal and mid order traversal
使用PyWebIO测试,刚入门的测试员也能做出自己的测试工具
Data type variable operator
About the use of Aidl, complex data transmission
Cocoapods installation in 2021
Day_ seventeen