I have a strange situation here:
From time to time I cannot log in with any of my mysql users. I even cannot make a mysql dump.
So I started searching in mysql files and I found that users.MYD
and users.MYI
are modified in the time when the login problem occurs.
The only way to return everything to work is to restore the users.*
files from the time when the system was running okay.
I searched about the problem and I found that there was some bug in the MySQL, but it was in the older versions (4.X). I'm running 5.5.
Any ideas? Thanks!
root@localhost
, run this query and tell the result:select count(1) from information_schema.columns where table_schema='mysql' and table_name='user';
– RolandoMySQLDBA Apr 15 at 15:48SHOW GLOBAL VARIABLES LIKE 'version';
– Michael - sqlbot Apr 17 at 6:07