Originally had a project that worked with MySQL(5.7.25x64 if it matters).
Now I need to deploy this project on another server, with MariaDB (10.4.11-MariaDB)
After composer install
trying php artisan migrate
but catch exception
Illuminate\Database\QueryException : SQLSTATE[HY000] [2006] MySQL server has gone away (SQL: select * from information_schema.tables where table_schema = admin_testtable and table_name = migrations and table_type = 'BASE TABLE')
laravel 6.10.1
MariaDB 10.4.11
PHP 7.3.13
Centos8
.env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=admin_testtable //(i can't remove 'admin_' in name. the DB is created and exists)
DB_USERNAME=username
DB_PASSWORD=password
php artisan optimize:clear, php artisan config:cache, composer dump-autoload
, restart server - doesn't help (just in case)