db-validate
CommunityVerify Laravel DB connections, fix errors instantly.
Authormim1012
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill quickly diagnoses and resolves common Laravel database connection issues, such as "connection refused," "access denied," or "database not found." It saves developers significant debugging time by pinpointing the exact cause of connectivity problems.
Core Features & Use Cases
.env&configValidation: Checks database-related environment variables in.envand theconfig/database.phpfile for consistency and correctness.- Live Connection Test: Attempts a real database connection using your current Laravel configuration and reports success or detailed error messages.
- PostgreSQL Server Status: Verifies if your local PostgreSQL server is running and listening on the correct port, a common cause of connection failures.
- Use Case: When your Laravel application throws a "Could not connect to database" error, this Skill will pinpoint whether it's a server issue, incorrect credentials in
.env, a missing database, or a misconfigured session driver, and provide the exact commands to fix it.
Quick Start
My Laravel application is failing to connect to the database. Please use the db-validate skill to check the connection and suggest a fix.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: db-validate Download link: https://github.com/mim1012/ykp_project/archive/main.zip#db-validate Please download this .zip file, extract it, and install it in the .claude/skills/ directory.