php_network_getaddresses: getaddrinfo failed: Name or service not known
PHP connects to alicycle RDS version database. At the beginning, the project domain name is configured. After the resolution is successful, the access is
that cannot be connected to the database
the solution is to restart the PHP service
service php-fpm restart
connect successfully after restart
Read More:
- PHP link database error PHP_ network_ getaddresses: getaddrinfo failed: Name or service not known
- Build LNMPR Error — php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
- Linux virtual machine network “job for” network.service failed because the control process exited with error code”
- CentOS 8.1 solution to error in executing #systemctl restart network.service
- The most complete solution for service network restart failure under CENTOS 7
- Debian using networking to restart the network can not start the solution of network card
- The media could not be loaded, either because the server or network failed or because the format is
- Job for network.service Failed because the control process exited with error code. See “SystemC
- Error:join network can not connect to Zerotier service
- nt service 1072 No need to restart, repeat the method of installing the service program or service driver
- Wireless network solution of deepin Linux network card driver (manual) installation
- MongoDB Error: Failed to start mongod.service: Unit mongod.service is not loaded properly
- Solution to device or resource busy error in docker redeployment service
- Solution summary of VMware network card without IP and failure to start network card (continuous update)
- Solution: the network can be recovered only when the Ubuntu broadband is disconnected
- React Native Network Request Failed solution
- Parsing error name or service not known [How to Solve]
- Centos7 executes the command service mysqld start and prompts Failed to start mysqld.service: Unit mysqld.service not loaded
- Ubuntu18 “Activation of network connection failed” cannot access the Internet 【Solution】
- Docker creation container cannot find network card: error response from daemon: network XXXX not found