当前位置:网站首页>Mysql5.7 is in the configuration file my Ini[mysqld] cannot be started after adding skip grant tables
Mysql5.7 is in the configuration file my Ini[mysqld] cannot be started after adding skip grant tables
2022-06-26 00:09:00 【Rice bowl on the other side】
Environmental Science
windows10 mysql-5.7
Preface
I have been looking for two days , To find a way to solve the problem of unable to log in . Finally, I found the corresponding solution in the comments of this blog .
[https://blog.csdn.net/q283614346/article/details/90732968]
I would like to express my deep thanks to the broadcaster .
Method
Talk less nonsense and go straight to the method .
1. First open two as administrator cmd window .

2. Enter... In one of the windows net stop mysql Temporarily Out of Service .

3. Continue to enter... In this window mysqld --console --skip-grant-tables --shared-memory

4. Enter... In another window mysql -uroot -p

Press enter to log in automatically where the password is required .
5. Change Password
stay mysql> Rear input set password for user name @localhost = password(‘ New password ’); The following errors may occur .
Give the following solutions .
5.1 Input flush privileges;
Don't forget the semicolon .
This will happen if you succeed
5.2 Input again set password for user name @localhost = password(‘ New password ’);
Also don't forget to add a semicolon .
okkk Be accomplished .!!!!!!!!!!!
边栏推荐
- redis之集群
- SSH review
- SMT操作员是做什么的?工作职责?
- (转载)进程和线程的形象解释
- 《网络是怎么样连接的》读书笔记 - 集线器、路由器和路由器(三)
- huibian
- Notes on the method of passing items from the spider file to the pipeline in the case of a scratch crawler
- Sword finger offer 48 Longest substring without duplicate characters
- 19c安装psu 19.12
- Hand made pl-2303hx USB to TTL level serial port circuit_ Old bear passing by_ Sina blog
猜你喜欢

Installation of third-party library iGraph for social network visualization

ValueError: color kwarg must have one color per data set. 9 data sets and 1 colors were provided

About Simple Data Visualization

Lazy people teach you to use kiwi fruit to lose 16 kg in a month_ Old bear passing by_ Sina blog

11.1.1、flink概述_flink概述

Hand made pl-2303hx USB to TTL level serial port circuit_ Old bear passing by_ Sina blog

How ASA configures port mapping and pat

利用VBScript连接mysql数据库_过路老熊_新浪博客

yolov5 提速多GPU训练显存低的问题

兆欧表电压档位选择_过路老熊_新浪博客
随机推荐
Given the parameter n, there will be n integers 1, 2, 3,... From 1 to n, n. These n arrays have n! An arrangement that lists all columns in ascending order of size and marks them one by one. Given n a
Multi-Instance Redo Apply
10.4.1 data console
Installation of third-party library iGraph for social network visualization
10.3.1、FineBI_ Installation of finebi
什么是微服务
10.4.1、数据中台
详细讲解局部变量、全局变量、静态变量三种类型
11.1.2、flink概述_Wordcount案例
Common knowledge points in JS
How postman tests interfaces that require login
Redis之常见问题
详解synchronize关键字
redis之详解
Frequently asked questions about redis
Keil compilation run error, missing error: # 5: # includecore_ cm3.h_ Old bear passing by_ Sina blog
no_expand和use_concat
Servlet response下载文件
深圳台电:联合国的“沟通”之道
用js根据当前季度获取上一季度