Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example of resetting phpmyadmin root password by command in Linux

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the Linux through the command to reset the phpmyadmin root password example, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.

Phpmyadmin forgot his password and modified it with the following code:

1. Stop the mysql service:

/ etc/init.d/mysql stop

two。 Skip verification to start MySQL

/ usr/local/mysql/bin/mysqld_safe-- skip-grant-tables > / dev/null 2 > & 1 &

3. Ready to reset the new password

/ usr/local/mysql/bin/mysql-u root mysql

4. Reset the new password

Update user set authentication_string = Password ('new password') where User = 'root'

5. Update permissions

Flush privileges

6. Quit

Exit

7. Restart MYSQL

Killall mysqld/etc/init.d/mysql startend thank you for reading this article carefully. I hope the article "examples of resetting phpmyadmin root passwords through commands in Linux" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report