zoukankan      html  css  js  c++  java
  • MySQL找回密码

    1. 通过service mysql stop停止mysql的服务
    2. /usr/bin/mysqld_safe --skip-grant-tables&       跳过安全检验机制(此时不要关闭当前终端,另开新的终端
    3. 设置密码) #mysql >use mysql; >update user set password=password('在这里写上要设置的新密码') where user='root                                         >flush privileges;                                                                                                                                                                              >exit
    4. 然后再登录mysql:#mysql -u root -p;                                                                                                                                                     Enter password: ‘输入你设置的密码’ 
    5. 重启mysql服务
  • 相关阅读:
    C++指针笔记
    破解入门【OllyDebug爆破程序】
    c++类的定义《一》
    数组
    while循环语句的使用
    MS10-046漏洞测试
    For循环语句的使用
    C++Builder编写计算器
    C++自定义函数
    SQLyog简介
  • 原文地址:https://www.cnblogs.com/yueliming/p/3068889.html
Copyright © 2011-2022 走看看