php artisan migrateで以下のエラーが出ます。原因はなんだと考えられるでしょうか?
Illuminate\Database\QueryException : SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: ̂悤ȃ zXg͕słB (SQL: select * from information_schema.tables where table_schema = laravel and table_name = migrations an d table_type = 'BASE TABLE') at C:\Users\masak\Work\develop\blog\vendor\laravel\framework\src\Illuminate\Database\Connection.php:669 665| // If an exception occurs when attempting to run a query, we'll format the error 666| // message to include the bindings with SQL, which will make this exception a 667| // lot more helpful to the developer instead of just the database's errors. 668| catch (Exception $e) { > 669| throw new QueryException( 670| $query, $this->prepareBindings($bindings), $e 671| ); 672| } 673| Exception trace: 1 PDOException::("PDO::__construct(): php_network_getaddresses: getaddrinfo failed: ̂悤ȃzXg͕słB ") C:\Users\masak\Work\develop\blog\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70 2 PDO::__construct("mysql:host=mysql;port=3306;dbname=laravel", "root", "root", []) C:\Users\masak\Work\develop\blog\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70 Please use the argument -v to see more details.
試したこと
以下のページを見つけましたがservice名というのが何を指しているのかわからず断念しました。
https://qiita.com/uta3chame/items/47b393e5887530573118
開発環境
Windows10pro
PHP 8.0.3
Docker version 20.10.5
Laravel Framework 8.35.1
Laradock
mysql Ver 14.14 Distrib 5.7.34, for Linux (x86_64) using EditLine wrapper