May 23, 2016 06:28 PM|JoshuaBishops|LINK
Copy all your data folder into mysql/data folder (Folder to Store all database)
Create folder with name of your database under mySql_HOME/data folder OR folder where MYSQL save all database, on linux you can find it from my.ini file.
copy all your .myd, .myi, etc files into that folder and restart it,
I tried this things on windows and it works, and i am able to attached/detached all mySql database on this way.
You can still read this resource for more information on your issue.