修改mysql密码
来源:互联网 发布:调音师知乎 编辑:程序博客网 时间:2024/06/06 11:38
首先找到mysql.exe的路径,然后配置高级系统配置环境变量
在path路径下添加;D:\webx5\mysql\bin这是我的mysql.exe的路径
path:C:\Program Files (x86)\Java\jdk1.7.0_04\bin;D:\webx5\mysql\bin
window+r命令进入dos命令
C:\Users\ASUS>mysql
ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO)
C:\Users\ASUS>mysql -uroot -p
Enter password: **
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.6.26 MySQL Community Server (GPL)
Enter password: **
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.6.26 MySQL Community Server (GPL)
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> update mysql.user set password=password('123123') where user='root';
Query OK, 1 row affected (0.06 sec)
Rows matched: 1 Changed: 1 Warnings: 0
Query OK, 1 row affected (0.06 sec)
Rows matched: 1 Changed: 1 Warnings: 0
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
Query OK, 0 rows affected (0.00 sec)
mysql>
阅读全文
0 0
- 【Mysql】修改mysql密码
- mysql忘记密码修改密码
- Mysql-忘记密码-密码修改
- 忘记mysql密码,修改密码
- mysql重置密码修改密码
- 忘记mysql 密码,修改密码
- mysql忘记密码修改密码
- 修改MYSQL的密码
- mysql 密码修改
- mysql 修改密码方法
- mysql 修改root密码
- 修改mysql root密码
- mysql 修改密码
- MySQL修改密码方法
- MySQL修改密码方法
- 怎样修改mysql密码
- 修改mysql密码
- mysql修改root 密码
- NOIP2011 Day2 T2 聪明的质监员
- onkeydown
- 深入理解javascript原型和闭包(2)——函数和对象的关系
- 用Composer 安装 laravel框架
- D
- 修改mysql密码
- Sizeof() 详解
- 【模板】【洛谷P3370】字符串哈希
- Android入门学习笔记整理(六)
- python循环
- Atomin**rProDocumentation 9.34 破解小记
- ios JPEGDecompressSurface : Picture decode failed: e00002d1 解决
- Python函数概况
- 通过输入下三角或者上三角实现输出对称矩阵