-2

I have created several databases in xampp server, now my xampp is not working. I want to back up those databases. I have not yet unistalled the xampp but i want to uninstall it for reinstalling. I need to know where the databases are stored in my pc drive.

Ziaur Rahman
  • 1,148
  • 11
  • 24
  • Possible duplicate of [What is the exact location of MySQL database tables in XAMPP folder?](https://stackoverflow.com/questions/9652949/what-is-the-exact-location-of-mysql-database-tables-in-xampp-folder) – GolezTrol Sep 21 '17 at 05:24
  • Possible duplicate of [where does MySQL store database files?](https://stackoverflow.com/questions/2091350/where-does-mysql-store-database-files) – JJJ Sep 21 '17 at 05:24

2 Answers2

4

Your database is in this directory C:\xampp\mysql\data

Rome
  • 563
  • 1
  • 9
  • 25
3

Use this command in mySQL:

mysql> select @@datadir;
iamsankalp89
  • 4,607
  • 2
  • 15
  • 36