How new is your domain?
You say it’s a phpMyAdmin problem. Pages not working is not a phpMyAdmin issue. pMA is only for manually exploring your database.
So far, there’s not much to go on unless you give more info, such as:
Did this ever work?
How did you set it up?
To which so-called “hack” are you referring?
How do you know the database on the site itself works fine (in spite of the fact that “many pages are not working”?