O
O
Oleg Aksenov2018-07-24 17:39:25
PHP
Oleg Aksenov, 2018-07-24 17:39:25

Where did the bases go?

Updated mysql from 5.7 to 8.0, at first couldn't get into phpmyadmin with error:

mysqli_real_connect(): (HY000/2054): The server requested authentication method unknown to the client

Solved this with:
[mysqld]
default_authentication_plugin=mysql_native_password

I was able to log in, but immediately upon entering:
SELECT `CHARACTER_SET_NAME` AS `Charset`, `DESCRIPTION` AS `Description` FROM `information_schema`.`CHARACTER_SETS`
Ответ MySQL: Документация

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


Actually, I don’t see the list of databases and everything that was connected to the database has fallen, please tell me.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2018-07-24
@Takun

Try to runmysql_upgrade -u root

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question