/
var
/
www
/
flurhymez
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
/var/www/flurhymez/vendor/laravel/framework/src/Illuminate/Database
mkdir
upload
Name
Size
Mode
Actions
Capsule/
-
0755
rm
Concerns/
-
0755
rm
Connectors/
-
0755
rm
Console/
-
0755
rm
DBAL/
-
0755
rm
Eloquent/
-
0755
rm
Events/
-
0755
rm
Migrations/
-
0755
rm
PDO/
-
0755
rm
Query/
-
0755
rm
Schema/
-
0755
rm
ClassMorphViolationException.php
525
0644
edit
dl
rm
composer.json
1663
0644
edit
dl
rm
ConfigurationUrlParser.php
192
0644
edit
dl
rm
Connection.php
35596
0755
edit
dl
rm
ConnectionInterface.php
3890
0755
edit
dl
rm
ConnectionResolver.php
1913
0755
edit
dl
rm
ConnectionResolverInterface.php
575
0755
edit
dl
rm
DatabaseManager.php
10760
0755
edit
dl
rm
DatabaseServiceProvider.php
3671
0755
edit
dl
rm
DatabaseTransactionRecord.php
1334
0755
edit
dl
rm
DatabaseTransactionsManager.php
2220
0755
edit
dl
rm
DetectsConcurrencyErrors.php
1114
0644
edit
dl
rm
DetectsLostConnections.php
2823
0644
edit
dl
rm
Grammar.php
5304
0755
edit
dl
rm
LazyLoadingViolationException.php
771
0644
edit
dl
rm
LICENSE.md
1075
0644
edit
dl
rm
MigrationServiceProvider.php
6200
0755
edit
dl
rm
MultipleRecordsFoundException.php
134
0755
edit
dl
rm
MySqlConnection.php
2582
0755
edit
dl
rm
PostgresConnection.php
3082
0755
edit
dl
rm
QueryException.php
1631
0644
edit
dl
rm
README.md
2208
0755
edit
dl
rm
RecordsNotFoundException.php
129
0755
edit
dl
rm
Seeder.php
3583
0755
edit
dl
rm
SQLiteConnection.php
3349
0755
edit
dl
rm
SqlServerConnection.php
3646
0755
edit
dl
rm
Edit:
/var/www/flurhymez/vendor/laravel/framework/src/Illuminate/Database/DetectsLostConnections.php
(2823B)
<?php namespace Illuminate\Database; use Illuminate\Support\Str; use Throwable; trait DetectsLostConnections { /** * Determine if the given exception was caused by a lost connection. * * @param \Throwable $e * @return bool */ protected function causedByLostConnection(Throwable $e) { $message = $e->getMessage(); return Str::contains($message, [ 'server has gone away', 'no connection to the server', 'Lost connection', 'is dead or not enabled', 'Error while sending', 'decryption failed or bad record mac', 'server closed the connection unexpectedly', 'SSL connection has been closed unexpectedly', 'Error writing data to the connection', 'Resource deadlock avoided', 'Transaction() on null', 'child connection forced to terminate due to client_idle_limit', 'query_wait_timeout', 'reset by peer', 'Physical connection is not usable', 'TCP Provider: Error code 0x68', 'ORA-03114', 'Packets out of order. Expected', 'Adaptive Server connection failed', 'Communication link failure', 'connection is no longer usable', 'Login timeout expired', 'SQLSTATE[HY000] [2002] Connection refused', 'running with the --read-only option so it cannot execute this statement', 'The connection is broken and recovery is not possible. The connection is marked by the client driver as unrecoverable. No attempt was made to restore the connection.', 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Try again', 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known', 'SQLSTATE[HY000]: General error: 7 SSL SYSCALL error: EOF detected', 'SQLSTATE[HY000] [2002] Connection timed out', 'SSL: Connection timed out', 'SQLSTATE[HY000]: General error: 1105 The last transaction was aborted due to Seamless Scaling. Please retry.', 'Temporary failure in name resolution', 'SSL: Broken pipe', 'SQLSTATE[08S01]: Communication link failure', 'SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host', 'SQLSTATE[HY000]: General error: 7 SSL SYSCALL error: No route to host', 'The client was disconnected by the server because of inactivity. See wait_timeout and interactive_timeout for configuring this behavior.', 'SQLSTATE[08006] [7] could not translate host name', 'TCP Provider: Error code 0x274C', ]); } }
Save
cmd:
run