The table files are located in /opt/lampp/var/mysql/[db_name]/
where [db_name]
is the name of the database.
If you are using MyISAM you have to copy 3 files per table :
Each MyISAM table is stored on disk in three files. The files have names that begin with the table name and have an extension to indicate the file type. An .frm file stores the table format. The data file has an .MYD (MYData) extension. The index file has an .MYI (MYIndex) extension.
If you are using InnoDB unfortunately you cannot move them:
When MySQL drops a table or a database, it has to delete one or more .frm files as well as the corresponding entries inside the InnoDB data dictionary. Consequently, you cannot move InnoDB tables between databases simply by moving the .frm files.