What mysql.sys do?

Asked

Viewed 206 times

4

Good Evening Everyone,

I just installed wampserver, later I was accessing phpmyadmin, but I found something strange in the user accounts.

As users had only mysql.sys and root, being the "root" which I created.

Can someone tell me about it? And something from the phpmyadmin version?

1 answer

7

Since Mysql 5.7.7, Schema to facilitate performance statistics managed by engine PERFORMANCE_SCHEMA, and he is just the sys.

This user has also been created (called DEFINER in this context):

'mysql.sys'@'localhost'

This was done to avoid problems, because before the DEFINER was the

'root'@'localhost'

and this created a lot of problems when the user root was renamed, which is a very common security procedure.

Creating a dedicated, local-only user was the solution found.


More details in the manual:

https://dev.mysql.com/doc/refman/5.7/en/sys-schema.html

  • thank you. Thank you.

  • @Marcostulio if solved, you can score with the blue V on the side of the score, to score as chosen answer

Browser other questions tagged

You are not signed in. Login or sign up in order to post.