---
title: How to Fix the "No such file or directory" Error When Connecting to Vultr Managed Database?
url: https://docs.vultr.com/support/products/storage/databases/how-to-fix-the-no-such-file-or-directory-error-when-connecting-to-vultr-managed-database
description: Prefix the Vultr Managed Database connection string with mysql, psql, or redis-cli to fix this terminal error.
publish_date: 2025-09-15T13:58:48.443184Z
last_updated: 2026-10-26T23:32:52.356047Z
---

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

# How to Fix the "No such file or directory" Error When Connecting to Vultr Managed Database?

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

# How to Fix the "No such file or directory" Error When Connecting to Vultr Managed Database?

A `No such file or directory` error usually occurs when you enter a database connection string directly into your terminal without using the appropriate client command for your database type.

To connect to your Vultr Managed Database, prepend the connection string with the correct client command:

* **MySQL** – use `mysql`
* **PostgreSQL** – use `psql`
* **Valkey** – use `redis-cli`

You can find the exact connection string and client command in the **Connection Details** section of your cluster's Overview page in the Vultr Console. For step-by-step instructions, see the dedicated 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).
