connect_db
Establish a connection to a PostgreSQL database by specifying host, user, password, and database. Use only when default connection fails or when explicitly requested for manual setup.
Instructions
Connect to PostgreSQL database. NOTE: Default connection exists - only use when requested or if other commands fail
Input Schema
Name | Required | Description | Default |
---|---|---|---|
database | Yes | Database name | |
host | Yes | Database host | |
password | Yes | Database password | |
port | No | Database port (default: 5432) | |
user | Yes | Database user |