Eu tive o mesmo problema.
Eu resolvi isso limpando a configuração.
- Crie um backup de todos os seus dados:
mysqldump -u root -p --all-databases > ~/alldb.sql
- Remover pacotes e limpar a configuração¹
sudo apt purge "mysql-server-*"
- Reinstale o servidor MySQL:
sudo apt install mysql-server
, você deve verRunning queries to upgrade MySQL server.
e mostrará todas as tabelas em seu banco de dados
¹ Eu não sei porque não remove as tabelas e bancos de dados