Merhabalar. Mac uzerine Xampp kurdum ve network portunu 8080 olarak ayarladim. Laravel projemdeki .env dosyasindaki degisiklikleri ayni sekilde yaptim.
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=8080
DB_DATABASE=test
DB_USERNAME=root
DB_PASSWORD=
sonrasinda ise php artisan config:clear ve php artisan cache:clear komutlarini calistirdim.
Suanda migrate yaptigimda hicbir tepki almiyorum. Terminal sadece bekliyor. Bu konuda yardim edebilir misiniz?
Uzun bir sure bekleyince bu hatayi veriyor;
lluminate\Database\QueryException
SQLSTATE[HY000] [2006] MySQL server has gone away (SQL: select * from information_schema.tables where table_schema = test and table_name = migrations and table_type = 'BASE TABLE')
at vendor/laravel/framework/src/Illuminate/Database/Connection.php:678
674▕ // If an exception occurs when attempting to run a query, we'll format the error
675▕ // message to include the bindings with SQL, which will make this exception a
676▕ // lot more helpful to the developer instead of just the database's errors.
677▕ catch (Exception $e) {
➜ 678▕ throw new QueryException(
679▕ $query, $this->prepareBindings($bindings), $e
680▕ );
681▕ }
682▕
+36 vendor frames
37 artisan:37
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))