Re-installing (or deleting) the currently selected corpus may fail due to a table metadata lock. This is probably so because the current session maintains a connection to the corpus data base, which prevents MySQL from dropping the data base.
A possible solution might be to always close the session's data base connection when either reinstalling or deleting a corpus, and reopening it afterwards.
Re-installing (or deleting) the currently selected corpus may fail due to a table metadata lock. This is probably so because the current session maintains a connection to the corpus data base, which prevents MySQL from dropping the data base.
A possible solution might be to always close the session's data base connection when either reinstalling or deleting a corpus, and reopening it afterwards.