当前位置:网站首页>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
边栏推荐
- Unity C# 网络学习(六)——FTP(二)
- excel 汉字转拼音「建议收藏」
- write a number of lines to a new file in vim
- DataEase模板市场正式发布
- Chrysanthemum chain (winter vacation daily question 39)
- Multimodal emotion recognition_ Research on emotion recognition based on multimodal fusion
- Full arrangement ii[duplicate removal of the same elements + standard backtracking]
- Basic layout -qhboxlayout class, qvboxlayout class, qgridlayout class
- 门店无线音箱造假?索尼回应:产品预留了有线连接接口 复杂场景下可以使用
- Combined with practice, you will understand redis persistence
猜你喜欢
Experiment 5 8254 timing / counter application experiment [microcomputer principle] [experiment]
Ps5 connected to oppo K9 TV does not support 2160p/4k
Full arrangement ii[duplicate removal of the same elements + standard backtracking]
DataEase模板市场正式发布
Abnova 5-methylcytosine polyclonal antibody
Abnova BSG monoclonal antibody description in Chinese and English
Cusdis - lightweight, privacy first open source comment system | chain of the city
Constant current circuit composed of 2 NPN triodes
谷歌浏览器控制台 f12怎么设置成中文/英文 切换方法,一定要看到最后!!!
(CVPR 2020) Learning Object Bounding Boxes for 3D Instance Segmentation on Point Clouds
随机推荐
(CVPR 2020) Learning Object Bounding Boxes for 3D Instance Segmentation on Point Clouds
sql 聚合函数有哪些
内网学习笔记(6)
如何通过EasyCVR接口监测日志观察平台拉流情况?
海河实验室创新联合体成立 GBASE成为首批创新联合体(信创)成员单位
Abnova CSV magnetic beads description in Chinese and English
2022-06-24:golang选择题,以下golang代码输出什么?A:1;B:3;C:4;D:编译失败。 package main import ( “f
字符串常用方法
Redis 那些事
Constant current circuit composed of 2 NPN triodes
Basic use of transformers Library
Android物联网应用程序开发(智慧园区)—— 设置传感器阈值对话框界面
中金证券靠谱吗?开证券账户安全吗?
Pbcms adding cyclic digital labels
门店无线音箱造假?索尼回应:产品预留了有线连接接口 复杂场景下可以使用
字符串数组转换为list集合
Redis and jedis
最长连续序列[扩散法+空间换时间]
Fake wireless speakers in stores? Sony responded: the product has reserved a wired connection interface, which can be used in complex scenarios
全排列II[存在相同元素去重 + 标准回溯]