Mysql – If I have the MySQL .frm, .MYD, and .MYI files, can I recreate the db without SQL

MySQL

I copied the data out of my /var/lib/mysql directory which has my database raw data in folders and has things like:

table1.frm
table1.MYD
table1.MYI

is this enough to re-import the databases to a fresh install of MySQL? Because I am about to re-image the server. if not, what should I do ?

Thanks!