mysql-backup

restoring mysql backup .myd .frm

I am having to restore a mysql database from .myd and .frm files. And Ii have no idea where to begin, I tried just copying them over while preserving file permisssions but to no avail what other steps do i need to take? I have a feeling its got something to do with the ib_logfile0, ib_logfile1 and ib_data files. But dont know what to do...