MySQL 5.5 正确配置 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: Y ES)
来源:互联网 发布:css使用js变量 编辑:程序博客网 时间:2024/06/05 20:57
第一步:C:\Program Files (x86)\MySQL\bin>net stop mysql
mysql 服务正在停止.
mysql 服务已成功停止。
第二步:
mysql>C:\Program Files (x86)\MySQL\bin>mysqld --skip-grant-tables
第三步:
C:\Program Files (x86)\MySQL\bin>net start mysql
mysql 服务正在启动 ..
mysql 服务已经启动成功。
第四步:
C:\Program Files (x86)\MySQL\bin>mysql -u root mysql
Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 1
Server version: 5.5.38 MySQL Community Server (GPL)
Copyright (c) 2000, 2014, 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.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
第五步:
Query OK, 3 rows affected (0.07 sec)
Rows matched: 3 Changed: 3 Warnings: 0
第六步:
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.01 sec)
第七步:
mysql> quit
Bye
第八步:
C:\Program Files (x86)\MySQL\bin>net start mysql
请求的服务已经启动。
第九步:
C:\Program Files (x86)\\MySQL\bin>mysql -u root -p
Enter password: ****
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.5.38 MySQL Community Server (GPL)
Copyright (c) 2000, 2014, 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.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement
mysql>
阅读全文
0 0
- MySQL 5.5 正确配置 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: Y ES)
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: Y ES)
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: Y ES)
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: Y
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password :Y)
- mysql-->ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
- mysql 报错处理ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YSE)
- ubuntu mysql问题 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YSE)解决
- mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) 解决办法
- mysql报错:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
- mysql Error 1045(28000) Access Denied for user 'root'@'localhost' (Using password:NO)
- [linux][mysql]ERROR 1045 (28000) : Access denied for user 'root'@'localhost' (using password:No)错误
- mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
- mysql解决ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
- MySQL: Error 1045 (28000): Access denied for user ‘root’@'localhost’ (using password: NO)
- 解决Mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost'(using password: YSE)
- mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
- centOS下mysql-ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
- Spring 中用到的设计模式
- 面试过程中遇到的问题
- linux获取网卡信息
- 第一课 从零开始学Spring boot 之 前期准备
- liunx 查看tomcat 内存溢出记录
- MySQL 5.5 正确配置 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: Y ES)
- Tomcat8.5配置HTTPS
- Convolutional Networks(要点)
- Machine Learning1——机器学习关于数据分析和概率论和线性代数及矩阵的知识
- 【深度学习】【caffe实用工具1】笔记23 Windows下【Caffe实用工具】之convert_cifar_data的用法
- 纯css写下拉箭头,三角,半圆。
- 前端面试之排序算法
- js实现鼠标吸附粒子效果和星璇效果
- ipconfig不是内部命令或外部命令