I have hosted two websites and now uploaded third one but it says
SQLSTATE[HY000] [2002] Network is unreachable
What is wrong? Why is this shown?
Credentials are right!
DB_CONNECTION=mysql
DB_HOST=127.0.0.0
DB_PORT=3306
DB_DATABASE=vfcvfmim_databaseorganiser
DB_USERNAME=vfcvfmim_abc
DB_PASSWORD=abc
Ahan! I see 127.0.0.0
could be the problem. Try with localhost
or 127.0.0.1
.
Check if it works.