You'll need to ensure the chmods (folder 700, 660 for files) and owners are correct (mysql:mysql) and you'll need to make sure that you restart mysql (and run a repair on the tables). Note that I hope you understand what you're doing going this route, you can cause quite the mess...