How do I check the Default Storage Engine of MySQL?
-
Open MAMP.
-
Start the servers.
-
Open Terminal.app in
/Applications/Utilities/. -
Navigate to the MySQL binary directory. Enter the path for your MySQL version and press Enter:
- MySQL 5.7:
cd /Applications/MAMP/Library/bin/mysql57/bin - MySQL 8:
cd /Applications/MAMP/Library/bin/mysql80/bin
- MySQL 5.7:
-
Connect to MySQL and press Enter:
./mysql --host=localhost -u root -proot -
Select the information schema and press Enter:
USE information_schema; -
Query the storage engines and press Enter:
SELECT * FROM engines; -
A table with all storage engines appears. The default storage engine is marked as
DEFAULTin the Support column.
-
Exit MySQL:
exit;
← MySQL