No idea what the .pm files are but the .myd, .myi and .frm files are the raw database files that MySQL uses.

If you've got the .myd, .myi and .frm files then you should have a complete backup of the entire database.