Page MenuHomePhabricator

D19756.diff
No OneTemporary

D19756.diff

diff --git a/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php b/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php
--- a/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php
+++ b/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php
@@ -297,10 +297,10 @@
throw new AphrontConnectionLostQueryException($message);
case 2006: // Gone Away
$more = pht(
- "This error may occur if your MySQL '%s' or '%s' ".
- "configuration values are set too low.",
- 'wait_timeout',
- 'max_allowed_packet');
+ 'This error may occur if your configured MySQL "wait_timeout" or '.
+ '"max_allowed_packet" values are too small. This may also indicate '.
+ 'that something used the MySQL "KILL <process>" command to kill '.
+ 'the connection running the query.');
throw new AphrontConnectionLostQueryException("{$message}\n\n{$more}");
case 1213: // Deadlock
throw new AphrontDeadlockQueryException($message);

File Metadata

Mime Type
text/plain
Expires
Mar 27 2025, 1:36 PM (6 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7577929
Default Alt Text
D19756.diff (1 KB)

Event Timeline