Database and MySQL help

Database and MySQL help

by Todd East -
Number of replies: 1
So I've been having a lot of problems with my installation and I'm trying to clean it up. My web host is about to shut down my site because I have too many MySQL tables (which I actually have no idea what that means). So I need to delete some moodle databases that have been created as I've installed/unistalled/attempted to restore,  moodle numerous times over the past few weeks as I try to get it to work again.

So my question is, I only have one installation on my site, but like 10 databases with names like "site_moodle322" "site_moodle3b7", etc. etc.

Can someone tell me how I can tell which ones I can safely delete and which database is actually associated with my current moodle installation? Thank you so much.





Average of ratings: -
In reply to Todd East

Re: Database and MySQL help

by Ken Task -
Picture of Particularly helpful Moodlers

Look at your moodle code directory in config.php file.   If your site is working, that file contains the name of the database to which your moodle is pointed.

'spirit of sharing', Ken