php artisan migrate | SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for db failed: Temporary failure in name resolution (SQL: select * from information_schema.tables where table_schema = inven_pos and table_name = migrations and table_type = 'BASE TABLE')
Opened this issue · 1 comments
DevaZikrullah commented
when i run command php artisan migrate
error = SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for db failed: Temporary failure in name resolution (SQL: select * from information_schema.tables where table_schema = inven_pos and table_name = migrations and table_type = 'BASE TABLE')
should i create the table first or smth??
muazzamazaz commented
change DB_HOST=db
to DB_HOST=localhost