How can i retreive a mysql database from a hard drive?
Use the mysqldump
utility :). This option allows you to export the database instead of merely copying the files.
http://gd.tuwien.ac.at/linuxcommand.org/man_pages/mysqldump1.html
If you are using linux then the databases are stored in /var/db/
generally. If its mysql /var/db/mysql/
.