MySQL database reports ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO) I saw on the Internet that I need to configure my.ini I am using win10 system and I am using mysql-5.7.18-winx64mysql There is no my.ini file in the file. I saw on the Internet that I could create one myself, so I added one at home. The content is as follows: [mysql]s kip-grant-tables
However, an error is reported: mysql: [ERROR] unknown option '--skip-grant-tables' My MySQL is 5.0.7. When I start MySQL in the console, I use: I found on the Internet that I can execute: Solution to the problem that the command line mysqld -skip-grant-tables fails to log in in mysql8.0 version 1. Log in to cmd with administrator privileges. If you don’t know how to log in as an administrator, please search for cmd and right-click the search result. 2. Enter the command line: net stop mysql; then prompt. The service is stopping --> The service has stopped. If other errors occur, please search Baidu. This is just an example. Please check the specific service name in Services. For example, mine is mysql57. If the service will not open, please win+R --> services.msc --> press Enter and find the service name starting with mysql. 3. Since mysqld --skip-grant-tables is no longer valid in mysql8.0, use mysqld --console --skip-grant-tables --shared-memory 4. Open another cmd and log in directly using mysql without a password. You can log in here, so I'll write this first. You may also be interested in:
|
<<: Python Flask WeChat applet login process and login api implementation code
>>: Vue uses Amap to realize city positioning
When you first start learning Linux, you first ne...
How to center the entire page content and how to m...
First of all, we need to know what a state manage...
Table of contents background Purpose Before split...
Table of contents 1. Optional chaining operator [...
Preface I have been working on some front-end pro...
I reinstalled VMware and Ubuntu, but the command ...
This article shares the specific code of JS to ac...
A style sheet describes how a document should be ...
Preface As we all know, the nginx configuration f...
There are many versions of the Java language. In ...
HTML img tag: defines an image to be introduced in...
Preface Based on my understanding of MySQL, I thi...
Configuration steps 1. Check whether DNS is confi...
(1) Introduction: clipboard.js is a lightweight J...