Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15580171
D19756.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D19756.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, May 8, 3:58 AM (1 d, 11 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7577929
Default Alt Text
D19756.diff (1 KB)
Attached To
Mode
D19756: Provide users a hint that "KILL <process>" is a possible source of connection loss
Attached
Detach File
Event Timeline
Log In to Comment