From cca58d6b1dc96e74263ab0e25fc6f574a7b52436 Mon Sep 17 00:00:00 2001 From: Alfred Date: Sat, 21 Dec 2019 20:42:18 +0500 Subject: [PATCH] Error while running `php artisan install ...` if mysql/mariadb has `default-storage-engine=MYISAM` instead of `InnoDB`. This will ensure that you won't get this error in any case. --- config/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.php b/config/database.php index 8cffb8469..c0b39b4f8 100644 --- a/config/database.php +++ b/config/database.php @@ -57,7 +57,7 @@ return [ 'prefix' => env('DB_PREFIX', 'ak_'), 'prefix_indexes' => true, 'strict' => true, - 'engine' => null, + 'engine' => 'InnoDB ROW_FORMAT=DYNAMIC', 'modes' => [ //'ONLY_FULL_GROUP_BY', // conflicts with eloquence 'STRICT_TRANS_TABLES',