Answers for "SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: No such host is known. (SQL: select * from information_schema.tables where table_schema = lara_c i_cd and table_name = migrations and table_type = 'BASE TABLE')"

PHP
0

SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: No such host is known. (SQL: select * from information_schema.tables where table_schema = lara_c i_cd and table_name = migrations and table_type = 'BASE TABLE')

DB_CONNECTION=mysql
DB_HOST=127.0.0.1 //remove localhost and add 127.0.0.1
DB_PORT=3306
DB_DATABASE=lweb
DB_USERNAME=root
DB_PASSWORD=
Posted by: Guest on February-02-2021

Code answers related to "SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: No such host is known. (SQL: select * from information_schema.tables where table_schema = lara_c i_cd and table_name = migrations and table_type = 'BASE TABLE')"

Browse Popular Code Answers by Language