It appears the files in my
/var/lib/mysql/mysql are borked, and I can only start
Now I want to export all tables with
mysqldump --all-databases, wipe and reinstall mysql, and re-import the tables.
mysqldump seems to ignore the
--skip-grant-tables option that I used to start
mysqld. It always assumes a username even if I don't specify one (root or the current linux user), asks for a password, and then fails (because it cannot verify the pw due to the borked files).
So, how can I export tables and circumvent the credentials?