忘记phpmyadmin密码怎么重置
时间:2020-09-22 16:00:07
作者:重庆seo小潘
来源:
1、停止mysql服务:/etc/init.d/mysql stop2、跳过验证启动MySQL/usr/local/mysql/bin/mysqld_safe-skip-grant-tables /dev/null 21 3、准备重新设置新密码/usr/local/mysql/bin/mysql -u root mysql4、重置新密码update user set authentication_string = P
1、停止mysql服务:/etc/init.d/mysql stop2、跳过验证启动MySQL/usr/local/mysql/bin/mysqld_safe-skip-grant-tables >/dev/null 2>&1 &3、准备重新设置新密码/usr/local/mysql/bin/mysql -u root mysql4、重置新密码update user set authentication_string = Password('新密码') where User = 'root';5、更新权限flush privileges;6、退出exit;7、重新启动MYSQLkillall mysqld/etc/init.d/mysql start相关文章教程推荐:phpmyadmin教程以上就是忘记phpmyadmin密码怎么重置的详细内容,更多请关注小潘博客其它相关文章!