当前位置:网站首页>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
边栏推荐
猜你喜欢

After integrating the aurora push plug-in in the uni app, the real machine debugging prompts "the currently running base does not contain the native plug-in [jg-jpush]..." Solutions to problems

Sumati GameFi生态纵览,神奇世界中的元素设计

leetcode:2104. 子数组范围和

How to prepare for the last day of tomorrow's exam? Complete compilation of the introduction to the second building test site

Fake wireless speakers in stores? Sony responded: the product has reserved a wired connection interface, which can be used in complex scenarios

MeterSphere開源持續測試平臺與阿裏雲雲效DevOps的集成

罗德与施瓦茨与中关村泛联院合作开展6G技术研究与早期验证

Ps5 connected to oppo K9 TV does not support 2160p/4k
![最长连续序列[扩散法+空间换时间]](/img/db/7b0d1b0db7015e887340723505153a.png)
最长连续序列[扩散法+空间换时间]

Abnova a4gnt polyclonal antibody
随机推荐
write a number of lines to a new file in vim
The innovation consortium of Haihe laboratory established gbase and became one of the first member units of the innovation Consortium (Xinchuang)
Award winning interface control development kit devaxpress v22.1 officially announced
EasyCVR国标协议接入的通道,在线通道部分播放异常是什么原因?
How to choose a regular and safe foreign exchange trading platform?
华泰证券如何开户能做到万分之一?证券开户安全可靠吗
Fan benefits, JVM manual (including PDF)
DDD概念复杂难懂,实际落地如何设计代码实现模型?
搜索二维矩阵[二分巧用 + 记录不同于插入二分的解法]
Pbcms adding cyclic digital labels
An Chaoyun: "one cloud with multiple cores" supports the implementation of the national information innovation government cloud
菊花链(寒假每日一题 39)
Dataease template market officially released
Some Modest Advice for Graduate Students - by Stephen C. Stearns, Ph.D.
谈谈飞书对开发工作的优势 | 社区征文
Basic use of transformers Library
Transformers 库的基本使用
DataEase模板市场正式发布
(CVPR 2020) Learning Object Bounding Boxes for 3D Instance Segmentation on Point Clouds
Constant current circuit composed of 2 NPN triodes