diff --git a/src/Illuminate/Database/DetectsLostConnections.php b/src/Illuminate/Database/DetectsLostConnections.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Database/DetectsLostConnections.php
+++ b/src/Illuminate/Database/DetectsLostConnections.php
@@ -34,7 +34,7 @@ trait DetectsLostConnections
             'reset by peer',
             'Physical connection is not usable',
             'TCP Provider: Error code 0x68',
-            'Name or service not known',
+            'getaddrinfo failed: Name or service not known',
             'ORA-03114',
             'Packets out of order. Expected',
         ]);
Stricter error message in place of "Name or service not known"