Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我忘记数据库密码时,如何列出 Linux 的所有 phpmyadmin 用户/密码?
不认证启动mysql服务器
mysqld_safe --skip-grant-tables
登录到mysql服务器
mysql --user=root mysql
重置任何用户的密码,包括root
update user set Password=PASSWORD('new_password') where user='user_name';
现在启动服务器并使用新密码。