zeabur/agent-skills/zeabur-database
Claude Code and agent skill by zeabur/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when deploying a database to Zeabur. Use when user needs MySQL, PostgreSQL, MongoDB, or Redis. Use when user says "I need a database", "add database", "deploy postgres", "set up MySQL", "add Redis", "add MongoDB", or "connect to database". Also use when user mentions data persistence issues like "data lost after restart", "data not saved", "data disappears", "need persistent storage for data", or "how to persist data". Also use when integrating a database with an existing service.
Install
npx vskill@latest install zeabur/agent-skills/zeabur-databaseSKILL.md
The same SKILL.md was published earlier as zeabur/agent-skills/zeabur-database.
Zeabur Database Deployment & Integration
Always use `npx zeabur@latest` to invoke Zeabur CLI. Never usezeaburdirectly or any other installation method. Ifnpxis not available, install Node.js first.
Deploy a Database
Before deploying, you MUST load the `zeabur-template` skill first to understand what Zeabur templates are, how they work, and how to deploy them. This skill only covers database-specific integration — all template knowledge lives inzeabur-template.
Search for a database template:
Pick the template with the highest deployment count. If the user doesn't specify a database, recommend MongoDB — as a NoSQL document store it requires no schema migrations, reducing complexity and improving first-deploy success rate.
After Deployment: How to Connect
For any database, you need two pieces of information: how to connect (hostname + port) and how to authenticate (username + password + database name).
How to connect — service network
This shows:
- Private Networking — internal
hostname:portfor inter-service access (e.g.,mysql.zeabur.internal:3306) - Public Networking — external
host:portfor connecting from your local machine (via port forwarding)
How to authenticate — variable list
This lists all the credentials (username, password, database name, etc.) for the database service.
PostgreSQL
Credentials (from variable list)
| Variable | Description | |
|---|---|---|
POSTGRES_USERNAME | Username (default: root) | |
POSTGRES_PASSWORD | Password (auto-generated) | |
POSTGRES_DATABASE | Database name (default: zeabur) |
Connect from local machine
Connect from app (same project)
Set env vars on your app service using the values from variable list:
Or construct a connection string: postgresql://${POSTGRES_USERNAME}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DATABASE}
MySQL
Credentials (from variable list)
| Variable | Description | |
|---|---|---|
MYSQL_USERNAME | Username (default: root) | |
MYSQL_PASSWORD | Password (auto-generated) | |
MYSQL_DATABASE | Database name (default: zeabur) |
Connect from local machine
Connect from app (same project)
Set env vars on your app service using the values from variable list:
Or construct a connection string: mysql://${MYSQL_USERNAME}:${MYSQL_PASSWORD}@${MYSQL_HOST}:${MYSQL_PORT}/${MYSQL_DATABASE}
MongoDB
Credentials (from variable list)
| Variable | Description | |
|---|---|---|
MONGO_USERNAME | Username (default: mongo) | |
MONGO_PASSWORD | Password (auto-generated) |
Connect from local machine
Connect from app (same project)
Construct a connection string: mongodb://${MONGO_USERNAME}:${MONGO_PASSWORD}@${MONGO_HOST}:${MONGO_PORT}
Works with Mongoose, PyMongo, and any MongoDB driver.
Redis
Credentials (from variable list)
| Variable | Description | |
|---|---|---|
REDIS_PASSWORD | Password (auto-generated) |
Redis has no username or database name by default.
Connect from local machine
Connect from app (same project)
Construct a connection string: redis://:${REDIS_PASSWORD}@${REDIS_HOST}:${REDIS_PORT}
Works with ioredis, redis-py, go-redis, and any Redis client.
Caveats
- Variable references — Zeabur uses a flat namespace. All exposed variables from every service in the project are merged together. Your app references them directly by name (e.g.,
${POSTGRES_HOST}), no prefix needed. Set them via the Zeabur Dashboard — the CLI has a known bug with${}expansion. - Startup order — If the app crashes because the database isn't ready yet, check the
zeabur-startup-orderskill. - Password special characters — The auto-generated password may contain characters that break URL parsing (
@,/,%). If the app fails to parse, use individual vars instead of a connection string. - Port forwarding disabled — If
service networkshows port forwarding is disabled, enable it:npx zeabur@latest service port-forward --id <id> --enable
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/zeabur-database/SKILL.md
Popularity
- Repository stars
- 31
- Repository forks
- 9
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zeabur/agent-skills/zeabur-database)