Answers for "sqlstate[hy000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: hte inconnu. (sql: select * from information_schema.tables where table_schema = bokaynou_app and table_name = migrations and table_type = 'base table') error"

0

SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = ipris and table_name = migrations and table_type = 'BASE TABLE')

php artisan cache:clear 
php artisan config:clear
Posted by: Guest on April-15-2021
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 for mysql failed: hte inconnu. (sql: select * from information_schema.tables where table_schema = bokaynou_app and table_name = migrations and table_type = 'base table') error"

Browse Popular Code Answers by Language