Doctrine\DBAL\Exception\ConnectionException {#10650 #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: 101 -previous: Doctrine\DBAL\Driver\PDO\Exception {#781 #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: 28 -previous: PDOException {#5875 #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/MySQL/Driver.php" #line: 33 +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->connect(array $params) … ›try {
›$pdo = new PDO(
›$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;
} { ContainerQ65XkQq\AppKernelProdContainer::getMaintenanceMiddlewareService($container) … › ›return $container->privates['AppBundle\\Security\\MaintenanceMiddleware'] = new \AppBundle\Security\MaintenanceMiddleware($a, $b, $c);
›}
} { ContainerQ65XkQq\AppKernelProdContainer::ContainerQ65XkQq\{closure} … › ›$instance->addListener('kernel.request', [#[\Closure(name: 'AppBundle\\Security\\MaintenanceMiddleware')] fn () => ($container->privates['AppBundle\\Security\\MaintenanceMiddleware'] ?? self::getMaintenanceMiddlewareService($container)), 'onKernelRequest'], -100);
›$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [#[\Closure(name: 'security.listener.user_provider', class: 'Symfony\\Component\\Security\\Http\\EventListener\\UserProviderListener')] fn () => ($container->privates['security.listener.user_provider'] ?? $container->load('getSecurity_Listener_UserProviderService')), 'checkPassport'], 1024);
} { 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;
} { ContainerQ65XkQq\AppKernelProdContainer::getMaintenanceMiddlewareService($container) … › ›return $container->privates['AppBundle\\Security\\MaintenanceMiddleware'] = new \AppBundle\Security\MaintenanceMiddleware($a, $b, $c);
›}
} { ContainerQ65XkQq\AppKernelProdContainer::ContainerQ65XkQq\{closure} … › ›$instance->addListener('kernel.request', [#[\Closure(name: 'AppBundle\\Security\\MaintenanceMiddleware')] fn () => ($container->privates['AppBundle\\Security\\MaintenanceMiddleware'] ?? self::getMaintenanceMiddlewareService($container)), 'onKernelRequest'], -100);
›$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [#[\Closure(name: 'security.listener.user_provider', class: 'Symfony\\Component\\Security\\Http\\EventListener\\UserProviderListener')] fn () => ($container->privates['security.listener.user_provider'] ?? $container->load('getSecurity_Listener_UserProviderService')), 'checkPassport'], 1024);
} { 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;
} { ContainerQ65XkQq\AppKernelProdContainer::getMaintenanceMiddlewareService($container) … › ›return $container->privates['AppBundle\\Security\\MaintenanceMiddleware'] = new \AppBundle\Security\MaintenanceMiddleware($a, $b, $c);
›}
} { ContainerQ65XkQq\AppKernelProdContainer::ContainerQ65XkQq\{closure} … › ›$instance->addListener('kernel.request', [#[\Closure(name: 'AppBundle\\Security\\MaintenanceMiddleware')] fn () => ($container->privates['AppBundle\\Security\\MaintenanceMiddleware'] ?? self::getMaintenanceMiddlewareService($container)), 'onKernelRequest'], -100);
›$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [#[\Closure(name: 'security.listener.user_provider', class: 'Symfony\\Component\\Security\\Http\\EventListener\\UserProviderListener')] fn () => ($container->privates['security.listener.user_provider'] ?? $container->load('getSecurity_Listener_UserProviderService')), 'checkPassport'], 1024);
} { 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.