At first is good to be a localhost installation (Apache, mysql-server and phpMyAdmin).
If them are installed, create an mysql user via phpMyAdmin and set the usename as the same as the original database user, and create the table too.
When the user is created, open Terminal into raw database folder and run
sudo mysql -D database_name_here -o database_name_here < raw_database_name_here
Now the original database can be seen and be exported via phpMyAdmin.