public function getDbConnectionInfo(ConfigInterface $config): array
    {
        $dbUser             = $config->get(ConfigInterface::PARAM_DB_USER);
        $dbPass             = $config->get(ConfigInterface::PARAM_DB_PASS);
        $dbHost             = $config->get(ConfigInterface::PARAM_DB_HOST);
        $dbName             = $config->get(ConfigInterface::PARAM_DB_NAME);
        $useRetryConnection = $config->get(ConfigInterface::PARAM_USE_RETRY_CONNECTION);

        $return = [
            'driver'   => 'pdo_mysql',
            'user'     => $dbUser,
            'password' => $dbPass,
            'dbname'   => $dbName,
            'host'     => $dbHost,
            'charset'  => 'utf8mb4',

        ];
        if (true === $useRetryConnection) {
            $return['wrapperClass'] = PingingAndReconnectingConnection::class;
        }

        return $return;
    }