( SELECT DISTINCT User
, Host
FROM mysql.user
) UNION
( SELECT DISTINCT User
, Host
FROM mysql.db
) UNI
I also ran into the
"Error: mysqlcheck doesn't support multiple contradicting commands"
issue using the following command
mysqlcheck -u root -p --auto-repair -c -o --all-databases
What I did, and its because I am lazy lol, was run everything separately and used the -r
for repair instead of --auto-repair
mysqlcheck -u root -p -r --all-databases
mysqlcheck -u root -p -c --all-databases
mysqlcheck -u root -p -o --all-databases