I am working on Live project on a database and want the MySQL database to be duplicated in linux so that I can access to it.

Here is my Problem,

I am working on test_practice (MySQL)database with PHP in linux and I dont know where the test_practice is stored in the machine.
I want to create a duplicate test_practice so that I can connect to that with my PHP files.

Thanks in advance....