当前位置:网站首页>Viewing MySQL password on Linux_ MySQL forgets password "suggestions collection" under Linux
Viewing MySQL password on Linux_ MySQL forgets password "suggestions collection" under Linux
2022-06-25 02:01:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
1、 the front
Install on the server today mysql after , Login found password error , But I didn't set the password , Finally, baidu learned that ,mysql stay 5.7 An initial password will be automatically created after version .
An error is as follows :
[[email protected] ~]#mysql -u root -p
Enter password:
ERROR1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)
2、 Check MySQL Whether the service starts
First check MySQL Whether the service starts , If you start , Shut down first MySQL service .
// see mysql Service status
[[email protected] ~]#ps -ef | grep -i mysql
root 22972 1 0 14:18 pts/0 00:00:00 /bin/sh /usr/bin/mysqld_safe –datadir=/var/lib/mysql –socket=/var/lib/mysql/mysql.sock –pid-file=/var/run/mysqld/mysqld.pid –basedir=/usr –user=mysql
mysql23166 22972 0 14:18 pts/0 00:00:00 /usr/sbin/mysqld –basedir=/usr –datadir=/var/lib/mysql –plugin-dir=/usr/lib/mysql/plugin –user=mysql –log-error=/var/log/mysqld.log –pid-file=/var/run/mysqld/mysqld.pid –socket=/var/lib/mysql/mysql
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/151776.html Link to the original text :https://javaforall.cn
边栏推荐
- Huawei laptop, which grew against the trend in Q1, is leading PC into the era of "smart office"
- Basic use of transformers Library
- How to open a stock account? Is it safe to open a mobile account?
- Beescms website penetration test and repair comments "suggestions collection"
- Fatigue liée à l'examen du marché secondaire des médicaments innovants: succès clinique de la phase III et approbation du produit
- Ps5 connected to oppo K9 TV does not support 2160p/4k
- Chinese address and English address
- Award winning interface control development kit devaxpress v22.1 officially announced
- 困牛排序(寒假每日一题 40)
- Abnova a4gnt polyclonal antibody
猜你喜欢

MeterSphere开源持续测试平台与阿里云云效DevOps的集成

创新药二级市场审饼疲劳:三期临床成功、产品获批也不管用了

DDD概念复杂难懂,实际落地如何设计代码实现模型?

海河实验室创新联合体成立 GBASE成为首批创新联合体(信创)成员单位
![Longest continuous sequence [diffusion method + space for time]](/img/db/7b0d1b0db7015e887340723505153a.png)
Longest continuous sequence [diffusion method + space for time]

第04天-文件IO
![uni-app集成极光推送插件后真机调试提示“当前运行的基座不包含原生插件[JG-JPush]...”问题的解决办法](/img/8b/0e982711c225ec8b0a2b90819d8a11.png)
uni-app集成极光推送插件后真机调试提示“当前运行的基座不包含原生插件[JG-JPush]...”问题的解决办法

Google browser console F12 how to set the Chinese / English switching method, we must see the last!!!
![Experiment 5 8254 timing / counter application experiment [microcomputer principle] [experiment]](/img/e2/7da59a566e4ccb8e43f2a64c0420e7.png)
Experiment 5 8254 timing / counter application experiment [microcomputer principle] [experiment]

【LeetCode】11、盛最多水的容器
随机推荐
AssertionError: CUDA unavailable, invalid device 0 requested
Logminer database log mining
O (log (min (m, n))
jwt
sql 聚合函数对 null 的处理[通俗易懂]
第04天-文件IO
Multi modal data can also be Mae? Berkeley & Google proposed m3ae to conduct Mae on image and text data! The optimal masking rate can reach 75%, significantly higher than 15% of Bert
华泰证券如何开户能做到万分之一?证券开户安全可靠吗
Redis 那些事
实战攻防演练中的四大特点
DDD概念复杂难懂,实际落地如何设计代码实现模型?
write a number of lines to a new file in vim
Build and train your own dataset for pig face recognition
sql 聚合函数有哪些
在两个有序数组中找到整体第K小的数可以做到O(log(Min(M,N)))
菊花链(寒假每日一题 39)
excel 汉字转拼音「建议收藏」
June 24, 2022: golang multiple choice question, what does the following golang code output? A:1; B:3; C:4; D: Compilation failed. package main import ( “f
带马尔科夫切换的正向随机微分方程数值格式模拟
RedisTemplate操作Redis,这一篇文章就够了(一)[通俗易懂]