( ! ) Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/test_db.php on line 2 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0245 | 390624 | {main}( ) | .../test_db.php:0 |
2 | 0.0245 | 390624 | mysqli_connect
( ) | .../test_db.php:2 |
( ! ) Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/test_db.php on line 2 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0245 | 390624 | {main}( ) | .../test_db.php:0 |
2 | 0.0245 | 390624 | mysqli_connect
( ) | .../test_db.php:2 |
Error: Unable to connect to MySQL.
Debugging errno: 2002
Debugging error: php_network_getaddresses: getaddrinfo failed: Name or service not known