What is the exact location of MySQL database tables in XAMPP folder?

前端 未结 10 1220
有刺的猬
有刺的猬 2020-12-08 10:04

I have a MySQL database and I want to know the exact location where this data actually stored in the XAMPP folder, I went to this file location to try to get the information

相关标签:
10条回答
  • 2020-12-08 10:27

    Data are store in this path. You can search data location, just put the below address in your search location (url address):

    C:\xampp\mysql\data

    0 讨论(0)
  • 2020-12-08 10:34

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

    0 讨论(0)
  • 2020-12-08 10:35

    If you are like me, and manually installed your webserver without using Xampp or some other installer,

    Your data is probably stored at C:\ProgramData\MySQL\MySQL Server 5.6\data

    0 讨论(0)
  • 2020-12-08 10:35

    In Ubuntu the file path is ./opt/lampp/var/mysql

    0 讨论(0)
  • 2020-12-08 10:37

    Rather late I know, but you can use SELECT @@datadir to get the information.

    Happy file huntin' SO community :)

    0 讨论(0)
  • 2020-12-08 10:37

    Just in case you forgot or avoided to copy through PHPMYADMIN export feature..

    Procedure: You can manually copy: Procedure For MAC OS, for latest versions of XAMPP

    Location : Find the database folders here /Users/XXXXUSER/XAMPP/xamppfiles/var/mysql..

    Solution: Copy the entire folder with database names into your new xampp in similar folder.

    Hope it helps, happy coding.

    0 讨论(0)
提交回复
热议问题