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.
DBパスワードを忘れたときにLinuxのすべてのphpmyadminユーザー/パスを一覧表示する方法は?
認証なしでmysqlサーバーを起動します
mysqld_safe --skip-grant-tables
mysqlサーバーにログインします
mysql --user=root mysql
ルートを含むすべてのユーザーのパスワードをリセットします
update user set Password=PASSWORD('new_password') where user='user_name';
次に、サーバーを起動し、新しいパスワードを使用します。