Doctrine\DBAL\Exception\ConnectionException {#487 #message: "An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user 'c234bohdalov3'@'31.31.225.44' (using password: YES)" #code: 1045 #file: "/var/www/clients/client322/web1037/web/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php" #line: 112 -previous: Doctrine\DBAL\Driver\PDO\Exception {#484 #message: "SQLSTATE[HY000] [1045] Access denied for user 'c234bohdalov3'@'31.31.225.44' (using password: YES)" #code: 1045 #file: "/var/www/clients/client322/web1037/web/vendor/doctrine/dbal/src/Driver/PDO/Exception.php" #line: 24 -previous: PDOException {#485 #message: "SQLSTATE[HY000] [1045] Access denied for user 'c234bohdalov3'@'31.31.225.44' (using password: YES)" #code: 1045 #file: "/var/www/clients/client322/web1037/web/vendor/doctrine/dbal/src/Driver/PDO/PDOConnect.php" #line: 22 +errorInfo: array:3 [ 0 => "HY000" 1 => 1045 2 => "Access denied for user 'c234bohdalov3'@'31.31.225.44' (using password: YES)" ] : { { Doctrine\DBAL\Driver\PDO\MySQL\Driver->doConnect(string $dsn, string $username, string $password, array $options): PDO … ›if (PHP_VERSION_ID < 80400) {›return new PDO($dsn, $username, $password, $options);›}} { Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(array $params) … ›try {›$pdo = $this->doConnect(›$this->constructPdoDsn($safeParams),} { Doctrine\DBAL\Connection->connect() … ›try {›$this->_conn = $this->_driver->connect($this->params);›} catch (Driver\Exception $e) {} { Doctrine\DBAL\Connection->getWrappedConnection() … › ›$this->connect();› } { Doctrine\DBAL\Connection->executeQuery(string $sql, array $params = [], $types = [], QueryCacheProfile $qcp = null): Result … › ›$connection = $this->getWrappedConnection();› } { Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array $criteria, $entity = null, $assoc = null, array $hints = [], $lockMode = null, $limit = null, array $orderBy = null) … ›[$params, $types] = $this->expandParameters($criteria);›$stmt = $this->conn->executeQuery($sql, $params, $types);› } { Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadById(array $identifier, $entity = null) … ›{›return $this->load($identifier, $entity);›}} { Doctrine\ORM\EntityManager->find($className, $id, $lockMode = null, $lockVersion = null) … ›default:›return $persister->loadById($sortedId);›}} { Doctrine\ORM\EntityRepository->find($id, $lockMode = null, $lockVersion = null) … ›{›return $this->_em->find($this->_entityName, $id, $lockMode, $lockVersion);›}} { AppBundle\Twig\Extension\DatabaseGlobalsExtension->getGlobals(): array … ›{›$hlavniudajevystavy = $this->em->getRepository(Hlavniudajevystavy::class)->find(0);›$user = $this->security->getUser();} { AppBundle\Security\MaintenanceMiddleware->__construct(Security $security, DatabaseGlobalsExtension $vars, TranslatorInterface $translator) … ›$this->security = $security;›$this->globalvars = $vars->getGlobals();›$this->translator = $translator;} { Container7hdd4PI\AppKernelProdContainer::getMaintenanceMiddlewareService($container) … › ›return $container->privates['AppBundle\\Security\\MaintenanceMiddleware'] = new \AppBundle\Security\MaintenanceMiddleware($a, $b, $c);›}} { Container7hdd4PI\AppKernelProdContainer::Container7hdd4PI\{closure} … › ›$instance->addListener('kernel.request', [#[\Closure(name: 'AppBundle\\Security\\MaintenanceMiddleware')] fn () => ($container->privates['AppBundle\\Security\\MaintenanceMiddleware'] ?? self::getMaintenanceMiddlewareService($container)), 'onKernelRequest'], -100);›$instance->addListener('console.command', [#[\Closure(name: 'doctrine_migrations.schema_filter_listener', class: 'Doctrine\\Bundle\\MigrationsBundle\\EventListener\\SchemaFilterListener')] fn () => ($container->privates['doctrine_migrations.schema_filter_listener'] ??= new \Doctrine\Bundle\MigrationsBundle\EventListener\SchemaFilterListener('doctrine_migration_versions')), 'onConsoleCommand'], 0);} { Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure} … ›if ($listener[0] instanceof \Closure) {›$listener[0] = $listener[0]();›$listener[1] ??= '__invoke';} { Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) … ›}›$listener($event, $eventName, $this);›}} { Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, string $eventName = null): object … ›if ($listeners) {›$this->callListeners($listeners, $eventName, $event);›}} { Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response … ›$event = new RequestEvent($this, $request, $type);›$this->dispatcher->dispatch($event, KernelEvents::REQUEST);› } { Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response … ›try {›return $response = $this->handleRaw($request, $type);›} catch (\Throwable $e) {} { Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException(ExceptionEvent $event) … ›try {›$response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false);›} catch (\Exception $e) {} { Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure} … ›}›($closure = $listener(...))(...$args);›};} { Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) … ›}›$listener($event, $eventName, $this);›}} { Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, string $eventName = null): object … ›if ($listeners) {›$this->callListeners($listeners, $eventName, $event);›}} { Symfony\Component\HttpKernel\HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response … ›$event = new ExceptionEvent($this, $request, $type, $e);›$this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);› } { Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response … › ›return $response = $this->handleThrowable($e, $request, $type);›} finally {} { Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response … ›try {›return $this->getHttpKernel()->handle($request, $type, $catch);›} finally {} { ›$request = Request::createFromGlobals();›$response = $kernel->handle($request);›$response->send();} } } -sqlState: "HY000" : { { Doctrine\DBAL\Driver\PDO\Exception::new(PDOException $exception): self … › ›return new self($exception->getMessage(), $sqlState, $code, $exception);›}} { Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(array $params) … ›} catch (PDOException $exception) {›throw Exception::new($exception);›}} { Doctrine\DBAL\Connection->connect() … ›try {›$this->_conn = $this->_driver->connect($this->params);›} catch (Driver\Exception $e) {} { Doctrine\DBAL\Connection->getWrappedConnection() … › ›$this->connect();› } { Doctrine\DBAL\Connection->executeQuery(string $sql, array $params = [], $types = [], QueryCacheProfile $qcp = null): Result … › ›$connection = $this->getWrappedConnection();› } { Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array $criteria, $entity = null, $assoc = null, array $hints = [], $lockMode = null, $limit = null, array $orderBy = null) … ›[$params, $types] = $this->expandParameters($criteria);›$stmt = $this->conn->executeQuery($sql, $params, $types);› } { Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadById(array $identifier, $entity = null) … ›{›return $this->load($identifier, $entity);›}} { Doctrine\ORM\EntityManager->find($className, $id, $lockMode = null, $lockVersion = null) … ›default:›return $persister->loadById($sortedId);›}} { Doctrine\ORM\EntityRepository->find($id, $lockMode = null, $lockVersion = null) … ›{›return $this->_em->find($this->_entityName, $id, $lockMode, $lockVersion);›}} { AppBundle\Twig\Extension\DatabaseGlobalsExtension->getGlobals(): array … ›{›$hlavniudajevystavy = $this->em->getRepository(Hlavniudajevystavy::class)->find(0);›$user = $this->security->getUser();} { AppBundle\Security\MaintenanceMiddleware->__construct(Security $security, DatabaseGlobalsExtension $vars, TranslatorInterface $translator) … ›$this->security = $security;›$this->globalvars = $vars->getGlobals();›$this->translator = $translator;} { Container7hdd4PI\AppKernelProdContainer::getMaintenanceMiddlewareService($container) … › ›return $container->privates['AppBundle\\Security\\MaintenanceMiddleware'] = new \AppBundle\Security\MaintenanceMiddleware($a, $b, $c);›}} { Container7hdd4PI\AppKernelProdContainer::Container7hdd4PI\{closure} … › ›$instance->addListener('kernel.request', [#[\Closure(name: 'AppBundle\\Security\\MaintenanceMiddleware')] fn () => ($container->privates['AppBundle\\Security\\MaintenanceMiddleware'] ?? self::getMaintenanceMiddlewareService($container)), 'onKernelRequest'], -100);›$instance->addListener('console.command', [#[\Closure(name: 'doctrine_migrations.schema_filter_listener', class: 'Doctrine\\Bundle\\MigrationsBundle\\EventListener\\SchemaFilterListener')] fn () => ($container->privates['doctrine_migrations.schema_filter_listener'] ??= new \Doctrine\Bundle\MigrationsBundle\EventListener\SchemaFilterListener('doctrine_migration_versions')), 'onConsoleCommand'], 0);} { Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure} … ›if ($listener[0] instanceof \Closure) {›$listener[0] = $listener[0]();›$listener[1] ??= '__invoke';} { Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) … ›}›$listener($event, $eventName, $this);›}} { Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, string $eventName = null): object … ›if ($listeners) {›$this->callListeners($listeners, $eventName, $event);›}} { Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response … ›$event = new RequestEvent($this, $request, $type);›$this->dispatcher->dispatch($event, KernelEvents::REQUEST);› } { Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response … ›try {›return $response = $this->handleRaw($request, $type);›} catch (\Throwable $e) {} { Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException(ExceptionEvent $event) … ›try {›$response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false);›} catch (\Exception $e) {} { Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure} … ›}›($closure = $listener(...))(...$args);›};} { Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) … ›}›$listener($event, $eventName, $this);›}} { Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, string $eventName = null): object … ›if ($listeners) {›$this->callListeners($listeners, $eventName, $event);›}} { Symfony\Component\HttpKernel\HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response … ›$event = new ExceptionEvent($this, $request, $type, $e);›$this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);› } { Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response … › ›return $response = $this->handleThrowable($e, $request, $type);›} finally {} { Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response … ›try {›return $this->getHttpKernel()->handle($request, $type, $catch);›} finally {} { ›$request = Request::createFromGlobals();›$response = $kernel->handle($request);›$response->send();} } } -query: null : { { Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(Exception $exception, ?Query $query): DriverException … ›case 2054:›return new ConnectionException($exception, $query);› } { Doctrine\DBAL\Connection->handleDriverException(Exception $driverException, ?Query $query): DriverException … ›$this->exceptionConverter ??= $this->_driver->getExceptionConverter();›$exception = $this->exceptionConverter->convert($driverException, $query);› } { Doctrine\DBAL\Connection->convertException(Exception $e): DriverException … ›{›return $this->handleDriverException($e, null);›}} { Doctrine\DBAL\Connection->connect() … ›} catch (Driver\Exception $e) {›throw $this->convertException($e);›}} { Doctrine\DBAL\Connection->getWrappedConnection() … › ›$this->connect();› } { Doctrine\DBAL\Connection->executeQuery(string $sql, array $params = [], $types = [], QueryCacheProfile $qcp = null): Result … › ›$connection = $this->getWrappedConnection();› } { Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array $criteria, $entity = null, $assoc = null, array $hints = [], $lockMode = null, $limit = null, array $orderBy = null) … ›[$params, $types] = $this->expandParameters($criteria);›$stmt = $this->conn->executeQuery($sql, $params, $types);› } { Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadById(array $identifier, $entity = null) … ›{›return $this->load($identifier, $entity);›}} { Doctrine\ORM\EntityManager->find($className, $id, $lockMode = null, $lockVersion = null) … ›default:›return $persister->loadById($sortedId);›}} { Doctrine\ORM\EntityRepository->find($id, $lockMode = null, $lockVersion = null) … ›{›return $this->_em->find($this->_entityName, $id, $lockMode, $lockVersion);›}} { AppBundle\Twig\Extension\DatabaseGlobalsExtension->getGlobals(): array … ›{›$hlavniudajevystavy = $this->em->getRepository(Hlavniudajevystavy::class)->find(0);›$user = $this->security->getUser();} { AppBundle\Security\MaintenanceMiddleware->__construct(Security $security, DatabaseGlobalsExtension $vars, TranslatorInterface $translator) … ›$this->security = $security;›$this->globalvars = $vars->getGlobals();›$this->translator = $translator;} { Container7hdd4PI\AppKernelProdContainer::getMaintenanceMiddlewareService($container) … › ›return $container->privates['AppBundle\\Security\\MaintenanceMiddleware'] = new \AppBundle\Security\MaintenanceMiddleware($a, $b, $c);›}} { Container7hdd4PI\AppKernelProdContainer::Container7hdd4PI\{closure} … › ›$instance->addListener('kernel.request', [#[\Closure(name: 'AppBundle\\Security\\MaintenanceMiddleware')] fn () => ($container->privates['AppBundle\\Security\\MaintenanceMiddleware'] ?? self::getMaintenanceMiddlewareService($container)), 'onKernelRequest'], -100);›$instance->addListener('console.command', [#[\Closure(name: 'doctrine_migrations.schema_filter_listener', class: 'Doctrine\\Bundle\\MigrationsBundle\\EventListener\\SchemaFilterListener')] fn () => ($container->privates['doctrine_migrations.schema_filter_listener'] ??= new \Doctrine\Bundle\MigrationsBundle\EventListener\SchemaFilterListener('doctrine_migration_versions')), 'onConsoleCommand'], 0);} { Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure} … ›if ($listener[0] instanceof \Closure) {›$listener[0] = $listener[0]();›$listener[1] ??= '__invoke';} { Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) … ›}›$listener($event, $eventName, $this);›}} { Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, string $eventName = null): object … ›if ($listeners) {›$this->callListeners($listeners, $eventName, $event);›}} { Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response … ›$event = new RequestEvent($this, $request, $type);›$this->dispatcher->dispatch($event, KernelEvents::REQUEST);› } { Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response … ›try {›return $response = $this->handleRaw($request, $type);›} catch (\Throwable $e) {} { Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException(ExceptionEvent $event) … ›try {›$response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false);›} catch (\Exception $e) {} { Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure} … ›}›($closure = $listener(...))(...$args);›};} { Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) … ›}›$listener($event, $eventName, $this);›}} { Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, string $eventName = null): object … ›if ($listeners) {›$this->callListeners($listeners, $eventName, $event);›}} { Symfony\Component\HttpKernel\HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response … ›$event = new ExceptionEvent($this, $request, $type, $e);›$this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);› } { Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response … › ›return $response = $this->handleThrowable($e, $request, $type);›} finally {} { Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response … ›try {›return $this->getHttpKernel()->handle($request, $type, $catch);›} finally {} { ›$request = Request::createFromGlobals();›$response = $kernel->handle($request);›$response->send();} } }
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.