Illuminate\Database\QueryException {#445 +errorInfo: array:3 [ 0 => "HY000" 1 => 2002 2 => "php_network_getaddresses: getaddrinfo for db-mysql-neo-production-server-do-user-4251420-0.b.db.ondigitalocean.com failed: Name or service not known" ] +connectionName: "mysql" #sql: "SET SESSION sql_require_primary_key=0" #bindings: [] }
throw new UniqueConstraintViolationException(
$this->getName(), $query, $this->prepareBindings($bindings), $e
);
}
throw new QueryException(
$this->getName(), $query, $this->prepareBindings($bindings), $e
);
}
}
protected function tryAgainIfCausedByLostConnection(QueryException $e, $query, $bindings, Closure $callback)
{
if ($this->causedByLostConnection($e->getPrevious())) {
$this->reconnect();
return $this->runQueryCallback($query, $bindings, $callback);
}
throw $e;
}
{
if ($this->transactions >= 1) {
throw $e;
}
return $this->tryAgainIfCausedByLostConnection(
$e, $query, $bindings, $callback
);
}
/**
// caused by a connection that has been lost. If that is the cause, we'll try
// to re-establish connection and re-run the query with a fresh connection.
try {
$result = $this->runQueryCallback($query, $bindings, $callback);
} catch (QueryException $e) {
$result = $this->handleQueryException(
$e, $query, $bindings, $callback
);
}
// Once we have run the query we will calculate the time that it took to run and
* @param array $bindings
* @return bool
*/
public function statement($query, $bindings = [])
{
return $this->run($query, $bindings, function ($query, $bindings) {
if ($this->pretending()) {
return true;
}
$statement = $this->getPdo()->prepare($query);
{
if (static::hasMacro($method)) {
return $this->macroCall($method, $parameters);
}
return $this->connection()->$method(...$parameters);
}
}
if (! $instance) {
throw new RuntimeException('A facade root has not been set.');
}
return $instance->$method(...$args);
}
}
$this->app->register(\Laravel\Telescope\TelescopeServiceProvider::class);
// $this->app->register(TelescopeServiceProvider::class);
}
if ($this->app->environment('production')) {
\Illuminate\Support\Facades\DB::statement('SET SESSION sql_require_primary_key=0');
}
}
/**
* Bootstrap any application services.
// a more convenient way of specifying your service provider classes.
if (is_string($provider)) {
$provider = $this->resolveProvider($provider);
}
$provider->register();
// If there are bindings / singletons set as properties on the provider we
// will spin through them and register them with the application, which
// serves as a convenience layer while registering a lot of bindings.
if (property_exists($provider, 'bindings')) {
// We will go ahead and register all of the eagerly loaded providers with the
// application so their services can be registered with the application as
// a provided service. Then we will set the deferred service list on it.
foreach ($manifest['eager'] as $provider) {
$this->app->register($provider);
}
$this->app->addDeferredServices($manifest['deferred']);
}
->partition(fn ($provider) => str_starts_with($provider, 'Illuminate\\'));
$providers->splice(1, 0, [$this->make(PackageManifest::class)->providers()]);
(new ProviderRepository($this, new Filesystem, $this->getCachedServicesPath()))
->load($providers->collapse()->toArray());
}
/**
* Register a service provider with the application.
*
* @param \Illuminate\Contracts\Foundation\Application $app
* @return void
*/
public function bootstrap(Application $app)
{
$app->registerConfiguredProviders();
}
}
$this->hasBeenBootstrapped = true;
foreach ($bootstrappers as $bootstrapper) {
$this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]);
$this->make($bootstrapper)->bootstrap($this);
$this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]);
}
}
* @return void
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/**
* Get the route dispatcher callback.
{
$this->app->instance('request', $request);
Facade::clearResolvedInstance('request');
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
$this->requestStartedAt = Carbon::now();
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
$app = require_once __DIR__.'/../bootstrap/app.php';
$kernel = $app->make(Kernel::class);
$response = tap($kernel->handle(
$request = Request::capture()
))->send();
$kernel->terminate($request, $response);
* @param array $options
* @return \PDO
*/
protected function createPdoConnection($dsn, $username, $password, $options)
{
return new PDO($dsn, $username, $password, $options);
}
/**
* Handle an exception that occurred during connect execution.
*
* @param array $options
* @return \PDO
*/
protected function createPdoConnection($dsn, $username, $password, $options)
{
return new PDO($dsn, $username, $password, $options);
}
/**
* Handle an exception that occurred during connect execution.
*
* @throws \Exception
*/
protected function tryAgainIfCausedByLostConnection(Throwable $e, $dsn, $username, $password, $options)
{
if ($this->causedByLostConnection($e)) {
return $this->createPdoConnection($dsn, $username, $password, $options);
}
throw $e;
}
try {
return $this->createPdoConnection(
$dsn, $username, $password, $options
);
} catch (Exception $e) {
return $this->tryAgainIfCausedByLostConnection(
$e, $dsn, $username, $password, $options
);
}
}
$options = $this->getOptions($config);
// We need to grab the PDO options that should be used while making the brand
// new connection instance. The PDO options control various aspects of the
// connection's behavior, and some might be specified by the developers.
$connection = $this->createConnection($dsn, $config, $options);
if (! empty($config['database'])) {
$connection->exec("use `{$config['database']}`;");
}
return function () use ($config) {
foreach (Arr::shuffle($this->parseHosts($config)) as $host) {
$config['host'] = $host;
try {
return $this->createConnector($config)->connect($config);
} catch (PDOException $e) {
continue;
}
}
* @return \PDO
*/
public function getPdo()
{
if ($this->pdo instanceof Closure) {
return $this->pdo = call_user_func($this->pdo);
}
return $this->pdo;
}
return $this->run($query, $bindings, function ($query, $bindings) {
if ($this->pretending()) {
return true;
}
$statement = $this->getPdo()->prepare($query);
$this->bindValues($statement, $this->prepareBindings($bindings));
$this->recordsHaveBeenModified();
{
// To execute the statement, we'll simply call the callback, which will actually
// run the SQL against the PDO connection. Then we can calculate the time it
// took to execute and log the query SQL, bindings and time in our memory.
try {
return $callback($query, $bindings);
}
// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
protected function tryAgainIfCausedByLostConnection(QueryException $e, $query, $bindings, Closure $callback)
{
if ($this->causedByLostConnection($e->getPrevious())) {
$this->reconnect();
return $this->runQueryCallback($query, $bindings, $callback);
}
throw $e;
}
{
if ($this->transactions >= 1) {
throw $e;
}
return $this->tryAgainIfCausedByLostConnection(
$e, $query, $bindings, $callback
);
}
/**
// caused by a connection that has been lost. If that is the cause, we'll try
// to re-establish connection and re-run the query with a fresh connection.
try {
$result = $this->runQueryCallback($query, $bindings, $callback);
} catch (QueryException $e) {
$result = $this->handleQueryException(
$e, $query, $bindings, $callback
);
}
// Once we have run the query we will calculate the time that it took to run and
* @param array $bindings
* @return bool
*/
public function statement($query, $bindings = [])
{
return $this->run($query, $bindings, function ($query, $bindings) {
if ($this->pretending()) {
return true;
}
$statement = $this->getPdo()->prepare($query);
{
if (static::hasMacro($method)) {
return $this->macroCall($method, $parameters);
}
return $this->connection()->$method(...$parameters);
}
}
if (! $instance) {
throw new RuntimeException('A facade root has not been set.');
}
return $instance->$method(...$args);
}
}
$this->app->register(\Laravel\Telescope\TelescopeServiceProvider::class);
// $this->app->register(TelescopeServiceProvider::class);
}
if ($this->app->environment('production')) {
\Illuminate\Support\Facades\DB::statement('SET SESSION sql_require_primary_key=0');
}
}
/**
* Bootstrap any application services.
// a more convenient way of specifying your service provider classes.
if (is_string($provider)) {
$provider = $this->resolveProvider($provider);
}
$provider->register();
// If there are bindings / singletons set as properties on the provider we
// will spin through them and register them with the application, which
// serves as a convenience layer while registering a lot of bindings.
if (property_exists($provider, 'bindings')) {
// We will go ahead and register all of the eagerly loaded providers with the
// application so their services can be registered with the application as
// a provided service. Then we will set the deferred service list on it.
foreach ($manifest['eager'] as $provider) {
$this->app->register($provider);
}
$this->app->addDeferredServices($manifest['deferred']);
}
->partition(fn ($provider) => str_starts_with($provider, 'Illuminate\\'));
$providers->splice(1, 0, [$this->make(PackageManifest::class)->providers()]);
(new ProviderRepository($this, new Filesystem, $this->getCachedServicesPath()))
->load($providers->collapse()->toArray());
}
/**
* Register a service provider with the application.
*
* @param \Illuminate\Contracts\Foundation\Application $app
* @return void
*/
public function bootstrap(Application $app)
{
$app->registerConfiguredProviders();
}
}
$this->hasBeenBootstrapped = true;
foreach ($bootstrappers as $bootstrapper) {
$this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]);
$this->make($bootstrapper)->bootstrap($this);
$this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]);
}
}
* @return void
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/**
* Get the route dispatcher callback.
{
$this->app->instance('request', $request);
Facade::clearResolvedInstance('request');
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
$this->requestStartedAt = Carbon::now();
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
$app = require_once __DIR__.'/../bootstrap/app.php';
$kernel = $app->make(Kernel::class);
$response = tap($kernel->handle(
$request = Request::capture()
))->send();
$kernel->terminate($request, $response);
* @param array $options
* @return \PDO
*/
protected function createPdoConnection($dsn, $username, $password, $options)
{
return new PDO($dsn, $username, $password, $options);
}
/**
* Handle an exception that occurred during connect execution.
*
* @param array $options
* @return \PDO
*/
protected function createPdoConnection($dsn, $username, $password, $options)
{
return new PDO($dsn, $username, $password, $options);
}
/**
* Handle an exception that occurred during connect execution.
*
* @throws \Exception
*/
protected function tryAgainIfCausedByLostConnection(Throwable $e, $dsn, $username, $password, $options)
{
if ($this->causedByLostConnection($e)) {
return $this->createPdoConnection($dsn, $username, $password, $options);
}
throw $e;
}
try {
return $this->createPdoConnection(
$dsn, $username, $password, $options
);
} catch (Exception $e) {
return $this->tryAgainIfCausedByLostConnection(
$e, $dsn, $username, $password, $options
);
}
}
$options = $this->getOptions($config);
// We need to grab the PDO options that should be used while making the brand
// new connection instance. The PDO options control various aspects of the
// connection's behavior, and some might be specified by the developers.
$connection = $this->createConnection($dsn, $config, $options);
if (! empty($config['database'])) {
$connection->exec("use `{$config['database']}`;");
}
return function () use ($config) {
foreach (Arr::shuffle($this->parseHosts($config)) as $host) {
$config['host'] = $host;
try {
return $this->createConnector($config)->connect($config);
} catch (PDOException $e) {
continue;
}
}
* @return \PDO
*/
public function getPdo()
{
if ($this->pdo instanceof Closure) {
return $this->pdo = call_user_func($this->pdo);
}
return $this->pdo;
}
return $this->run($query, $bindings, function ($query, $bindings) {
if ($this->pretending()) {
return true;
}
$statement = $this->getPdo()->prepare($query);
$this->bindValues($statement, $this->prepareBindings($bindings));
$this->recordsHaveBeenModified();
{
// To execute the statement, we'll simply call the callback, which will actually
// run the SQL against the PDO connection. Then we can calculate the time it
// took to execute and log the query SQL, bindings and time in our memory.
try {
return $callback($query, $bindings);
}
// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
protected function tryAgainIfCausedByLostConnection(QueryException $e, $query, $bindings, Closure $callback)
{
if ($this->causedByLostConnection($e->getPrevious())) {
$this->reconnect();
return $this->runQueryCallback($query, $bindings, $callback);
}
throw $e;
}
{
if ($this->transactions >= 1) {
throw $e;
}
return $this->tryAgainIfCausedByLostConnection(
$e, $query, $bindings, $callback
);
}
/**
// caused by a connection that has been lost. If that is the cause, we'll try
// to re-establish connection and re-run the query with a fresh connection.
try {
$result = $this->runQueryCallback($query, $bindings, $callback);
} catch (QueryException $e) {
$result = $this->handleQueryException(
$e, $query, $bindings, $callback
);
}
// Once we have run the query we will calculate the time that it took to run and
* @param array $bindings
* @return bool
*/
public function statement($query, $bindings = [])
{
return $this->run($query, $bindings, function ($query, $bindings) {
if ($this->pretending()) {
return true;
}
$statement = $this->getPdo()->prepare($query);
{
if (static::hasMacro($method)) {
return $this->macroCall($method, $parameters);
}
return $this->connection()->$method(...$parameters);
}
}
if (! $instance) {
throw new RuntimeException('A facade root has not been set.');
}
return $instance->$method(...$args);
}
}
$this->app->register(\Laravel\Telescope\TelescopeServiceProvider::class);
// $this->app->register(TelescopeServiceProvider::class);
}
if ($this->app->environment('production')) {
\Illuminate\Support\Facades\DB::statement('SET SESSION sql_require_primary_key=0');
}
}
/**
* Bootstrap any application services.
// a more convenient way of specifying your service provider classes.
if (is_string($provider)) {
$provider = $this->resolveProvider($provider);
}
$provider->register();
// If there are bindings / singletons set as properties on the provider we
// will spin through them and register them with the application, which
// serves as a convenience layer while registering a lot of bindings.
if (property_exists($provider, 'bindings')) {
// We will go ahead and register all of the eagerly loaded providers with the
// application so their services can be registered with the application as
// a provided service. Then we will set the deferred service list on it.
foreach ($manifest['eager'] as $provider) {
$this->app->register($provider);
}
$this->app->addDeferredServices($manifest['deferred']);
}
->partition(fn ($provider) => str_starts_with($provider, 'Illuminate\\'));
$providers->splice(1, 0, [$this->make(PackageManifest::class)->providers()]);
(new ProviderRepository($this, new Filesystem, $this->getCachedServicesPath()))
->load($providers->collapse()->toArray());
}
/**
* Register a service provider with the application.
*
* @param \Illuminate\Contracts\Foundation\Application $app
* @return void
*/
public function bootstrap(Application $app)
{
$app->registerConfiguredProviders();
}
}
$this->hasBeenBootstrapped = true;
foreach ($bootstrappers as $bootstrapper) {
$this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]);
$this->make($bootstrapper)->bootstrap($this);
$this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]);
}
}
* @return void
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/**
* Get the route dispatcher callback.
{
$this->app->instance('request', $request);
Facade::clearResolvedInstance('request');
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
$this->requestStartedAt = Carbon::now();
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
$app = require_once __DIR__.'/../bootstrap/app.php';
$kernel = $app->make(Kernel::class);
$response = tap($kernel->handle(
$request = Request::capture()
))->send();
$kernel->terminate($request, $response);
[3/3]
QueryException
|
---|
Illuminate\Database\QueryException: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for db-mysql-neo-production-server-do-user-4251420-0.b.db.ondigitalocean.com failed: Name or service not known (Connection: mysql, SQL: SET SESSION sql_require_primary_key=0) at /var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:829 at Illuminate\Database\Connection->runQueryCallback() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:983) at Illuminate\Database\Connection->tryAgainIfCausedByLostConnection() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:962) at Illuminate\Database\Connection->handleQueryException() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:785) at Illuminate\Database\Connection->run() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:576) at Illuminate\Database\Connection->statement() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:509) at Illuminate\Database\DatabaseManager->__call() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:355) at Illuminate\Support\Facades\Facade::__callStatic() (/var/www/neo/app/Providers/AppServiceProvider.php:38) at Neo\Providers\AppServiceProvider->register() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:788) at Illuminate\Foundation\Application->register() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:75) at Illuminate\Foundation\ProviderRepository->load() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:765) at Illuminate\Foundation\Application->registerConfiguredProviders() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php:17) at Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:263) at Illuminate\Foundation\Application->bootstrapWith() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:186) at Illuminate\Foundation\Http\Kernel->bootstrap() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144) at Illuminate\Foundation\Http\Kernel->handle() (/var/www/neo/public/index.php:52) |
[2/3]
PDOException
|
---|
PDOException: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for db-mysql-neo-production-server-do-user-4251420-0.b.db.ondigitalocean.com failed: Name or service not known at /var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65 at PDO->__construct() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65) at Illuminate\Database\Connectors\Connector->createPdoConnection() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:83) at Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:48) at Illuminate\Database\Connectors\Connector->createConnection() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24) at Illuminate\Database\Connectors\MySqlConnector->connect() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:184) at Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() at call_user_func() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1339) at Illuminate\Database\Connection->getPdo() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:581) at Illuminate\Database\Connection->Illuminate\Database\{closure}() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:816) at Illuminate\Database\Connection->runQueryCallback() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:983) at Illuminate\Database\Connection->tryAgainIfCausedByLostConnection() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:962) at Illuminate\Database\Connection->handleQueryException() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:785) at Illuminate\Database\Connection->run() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:576) at Illuminate\Database\Connection->statement() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:509) at Illuminate\Database\DatabaseManager->__call() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:355) at Illuminate\Support\Facades\Facade::__callStatic() (/var/www/neo/app/Providers/AppServiceProvider.php:38) at Neo\Providers\AppServiceProvider->register() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:788) at Illuminate\Foundation\Application->register() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:75) at Illuminate\Foundation\ProviderRepository->load() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:765) at Illuminate\Foundation\Application->registerConfiguredProviders() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php:17) at Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:263) at Illuminate\Foundation\Application->bootstrapWith() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:186) at Illuminate\Foundation\Http\Kernel->bootstrap() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144) at Illuminate\Foundation\Http\Kernel->handle() (/var/www/neo/public/index.php:52) |
[1/3]
PDOException
|
---|
PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo for db-mysql-neo-production-server-do-user-4251420-0.b.db.ondigitalocean.com failed: Name or service not known at /var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65 at PDO->__construct() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65) at Illuminate\Database\Connectors\Connector->createPdoConnection() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:83) at Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:48) at Illuminate\Database\Connectors\Connector->createConnection() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24) at Illuminate\Database\Connectors\MySqlConnector->connect() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:184) at Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() at call_user_func() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1339) at Illuminate\Database\Connection->getPdo() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:581) at Illuminate\Database\Connection->Illuminate\Database\{closure}() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:816) at Illuminate\Database\Connection->runQueryCallback() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:983) at Illuminate\Database\Connection->tryAgainIfCausedByLostConnection() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:962) at Illuminate\Database\Connection->handleQueryException() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:785) at Illuminate\Database\Connection->run() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/Connection.php:576) at Illuminate\Database\Connection->statement() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:509) at Illuminate\Database\DatabaseManager->__call() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:355) at Illuminate\Support\Facades\Facade::__callStatic() (/var/www/neo/app/Providers/AppServiceProvider.php:38) at Neo\Providers\AppServiceProvider->register() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:788) at Illuminate\Foundation\Application->register() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:75) at Illuminate\Foundation\ProviderRepository->load() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:765) at Illuminate\Foundation\Application->registerConfiguredProviders() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php:17) at Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:263) at Illuminate\Foundation\Application->bootstrapWith() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:186) at Illuminate\Foundation\Http\Kernel->bootstrap() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() (/var/www/neo/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144) at Illuminate\Foundation\Http\Kernel->handle() (/var/www/neo/public/index.php:52) |