1449-The user specified as a definer(‘mysql.infoschema‘@localhost‘) does not exist

tags: MySQL

mysql login error 1449

mysql login error 1449-The user specified as a definer(‘mysql.infoschema‘@localhost’) does not exist:


Problem Description:

I found it online, but after modifying the permissions, I didn’t work. Later, I saw another great god’s blog and said that the view definer didn’t exist, so just create one, so just build it. Let’s record the steps below: (MySQL version 8.0 )

solution:

  1. Enter mysql:
mysql -u root -p

  1. Delete the previous view table:
drop user  `mysql.infoschema`@"localhost";

(mysql.infoschema@"localhost" is the user and address that reported the error when connecting)

  1. Refresh permissions:
flush privileges;

  1. Create the missing view table:Bold style
create user `mysql.infoschema`@"localhost" identified by '123456';

('123456' is your own database connection password)

  1. Refresh permissions:
flush privileges;

  1. Use the database:
use mysql;

  1. Setting permissions:
update user set Select_priv = 'Y' where User = 'mysql.infoschema';

(The username is the username that reported the error)

  1. Refresh permissions:
flush privileges;


Mine can connect successfully here:


This is a refinement of the Great God’s process and records it so that the problem can be solved later:
Insert the solution of the Great God below:
Great God's solution

Intelligent Recommendation

Mysql 8.0.19 News THE USER Specified As a Definer ('mysql.infoschema'@'localhost') Does not exist

Question Phenomenon: mysql> show databases; ERROR 1449 (HY000): The user specified as a definer ('mysql.infoschema'@'localhost') does not exist Solution: 1. First look at whether mysql sets an envi...

1449 - The user specified as a definer ('root'@'%.%.%.%') does not exist

Executing a custom function is reporting an error of 1449 Assign all permissions to the current user through the following statement root is the user name of the current user...

Mysql 1449 : The user specified as a definer ('root'@'%') does not exist

a problem that belongs to the authority,Generally, the root user does not have access to the global host. So just add an access permission to the root user. Authorize root all sql permissions First lo...

mysql:MySQL error 1449: The user specified as a definer does not exist

I reported the above error when deleting the table data recently. Found when viewing the table structure that could not be deleted. There is a trigger for this table. And the definer of the table -- t...

More Recommendation

Error code: 1449 The user specified as a definer ( 'root' @ '%') does not exist

1, error description 2, the cause of the error This is a permissions issue, granted to all SQL statements root of 3, the solution...

mysql 1449: The user specified as a definer ( 'root' @ '%') does not exist solutions

When imported during the project, run the emergence of this issue, probably means no access to the database. Solution Basically this can be solved....

MySQL error 1449: The user specified as a definer ( 'root' @ '%') does not exist Solution

Migrating data from one database to migrate local localhost or localhost local data to a server in Windows Server is seeking its In the call to view the database error, is also being given directly to...

mysql 1449: The user specified as a definer ( 'root' @ '%') does not exist Solution

  Reproduced in: https: //my.oschina.net/u/1776219/blog/1512099...

MySQL error: [Err] 1449-The user specified as a definer ('admin' @ '%') does not exist

Recently, I am working on a project. Due to server switching, I need to import the original server's mysql data table and stored procedures into another server's mysql database. The following error is...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top