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=
Also in PHP:
- downloading php latest version for ubuntu 20.04 using terminal
- declare empty array in php
- blade comment
- create laravel command to clear cache
- Laravel 7 do not see my new added seeder
- check if home page wordpress
- different date format php
- catch new exception php
- console/log in php
- convert stdclass object to array php
- check type in php
- find string exist in string php
- check string variable length php
- consol log put in php
- disadvantages of php
- fillable vs guarded laravel
- clear cache from admin panel laravel
- WordPress add query string to URL
- command to install laravel 7
- call other seeder class laravel
- current date timestamp in php
- check if character is in string php
- check if string exist in string php
- add_filter wordpress