Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the created MySQL database folder stored in Mac OS X?

Tags:

mysql

macos

Where is the created MySQL database folder stored in Mac OS X?

like image 553
OM The Eternity Avatar asked Dec 28 '10 09:12

OM The Eternity


1 Answers

Run this query:

SELECT @@datadir, @@innodb_data_home_dir

The exact files and or subfolders depend on the exact database name and table types.

like image 127
Álvaro González Avatar answered Sep 17 '22 15:09

Álvaro González