-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for database failed: Temporary failure in name resolution (SQL: select * from information_schema.tables where table_schema = chatapp and table_name = migrations and table_type = 'BASE TABLE') #2
Comments
I ran into a similar issue. The error I was getting was: When I looked at the php.ini files, I realized there were 2: I updated APP_ENV in .env from =local to =development, helping get me past my error. I'll let you know if I find anything related to your error, but I wanted to share what I know. |
use:
|
Finally, it's worked for me! |
SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql.railway.internal failed: Name or service not known (Connection: mysql, SQL: select * from hi, i had the same issues, is anyone here can help me? |
how to solved? |
so, i had that error because i put my sql server on different service, after i move the sql to the same service as my web app do, the error is solved |
can u show some example please sir?? |
Hello
I have an issue where queue exits with code 0 after php gives the following:
The text was updated successfully, but these errors were encountered: