---
title: How to Fix the "Invalid Parameters and Values" Error When Connecting to Vultr Managed Database?
url: https://docs.vultr.com/support/products/storage/databases/how-to-fix-invalid-parameters-and-values-error-when-connecting-to-your-vultr-managed-database
description: Check that the username, password, hostname, port, and database in your Vultr connection string are correct.
publish_date: 2025-09-15T13:58:06.725786Z
last_updated: 2026-10-26T23:32:36.566795Z
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

# How to Fix the "Invalid Parameters and Values" Error When Connecting to Vultr Managed Database?

reference slug: products/storage/databases/postgresql
reference slug: products/storage/databases/valkey

# How to Fix the "Invalid Parameters and Values" Error When Connecting to Vultr Managed Database?

An `Invalid Parameters and Values` error occurs when your client cannot establish a connection because the connection string contains typos, improperly formatted options, or incorrect values for the username, password, hostname, port, or database name. This prevents the database from authenticating or locating the correct cluster. To resolve this:

* Verify that your connection string contains the correct username, password, hostname, port, and database name. Even small typos can prevent successful connections.
* For Vultr Managed Databases, the recommended approach is to **Copy the Connection String** directly from the database’s Overview page, in the Connection Details section. This ensures that you are using the exact parameters assigned to your database cluster. For details on retrieving connection parameters, see the dedicated Connection Details guides for [MySQL](https://docs.vultr.com/products/storage/databases/mysql/management/connection/connection-details), [PostgreSQL](https://docs.vultr.com/products/storage/databases/postgresql/management/connection/connection-details), and [Valkey](https://docs.vultr.com/products/storage/databases/valkey/management/connection/connection-details).
* Make sure you are using the `public hostname` if connecting from outside the VPC, or the `private hostname` if connecting from a resource within the same VPC network.
