Home > Database > Mysql Tutorial > What to do with mysql error 1248

What to do with mysql error 1248

coldplay.xixi
Release: 2020-10-19 10:58:28
Original
4341 people have browsed it

Mysql error 1248 solution: first add [skip-grant-tables] to the mysql configuration file; then restart mysql, reset the password and refresh the permission table; then comment [skip- grant-tables]; finally restart mysql.

What to do with mysql error 1248

Related free learning recommendations: mysql database( Video)

Mysql error 1248 solution:

1. First, skip the permissions and configure the mysql configuration file (linux--> my.cnf) [mysqld] Add skip-grant-tables, you can log in without a password, as shown in the figure.

What to do with mysql error 1248

2. Then restart mysql.

What to do with mysql error 1248

#3. Then reset the password and refresh the permission table.

What to do with mysql error 1248

#4. Then comment skip-grant-tables in the mysql configuration file.

What to do with mysql error 1248

5. Finally, restart mysql and the problem will be solved.

What to do with mysql error 1248

The above is the detailed content of What to do with mysql error 1248. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template