On shared systems, DB is also shared. ![sad sad](https://moodle.org/theme/image.php/moodleorg/core/1714634126/s/sad)
When you first launch phpmyadmin, in the left column, it list databases to which your account has access.
According to what you just shared, the account/DB for your moodle was/is moodle_6 ... the mdl_ is the prefix in front of the table config.
Check your config.php file. You should see an array of variables for the DB - DB name. And there is a line for 'prefix' as well. Default for prefix is usually mdl_.
I gave you a query that used typical prefix ... your DB may have a different prefix and thus table can't be found.
Rather than executing the query, just select the DB, that should show all tables. Browse the tables looking for config.
If that table doesn't exist, afraid you moodle is 'toast' using that DB!
Did you ever make a backup of the DB?
Sent you a PM on this system. Please respond there!
'SoS', Ken