dx mysql pipe

Open a MySQL tunnel to a remote host via a local port.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/siteminder-au/claude-code-dx-plugin --skill dx-mysql-pipe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dx mysql pipe
Source: https://github.com/siteminder-au/claude-code-dx-plugin/tree/main/skills/database-pipe
Command: npx skills add https://github.com/siteminder-au/claude-code-dx-plugin --skill dx-mysql-pipe

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @siteminder/dx, @anthropic-ai/claude-code.

What problem does it solve?

Manually setting up secure tunnels to remote MySQL databases is complex and error-prone. This Skill automates the process, ensuring quick and reliable access to your databases.

Core Features & Use Cases

  • Automated Tunneling: Establishes secure MySQL pipes to specified remote hosts with simple commands.
  • Dynamic Port Assignment: Automatically suggests and manages local ports, avoiding conflicts and ensuring smooth connections.
  • Nickname Support: Remembers host nicknames for faster, repeated connections, reducing typing and errors.
  • Use Case: Need to debug a database issue on a platform-dev environment? Just ask "mysql pipe to platform-dev-ppay" and get instant, secure access without manual configuration.

Quick Start

open db pipe to platform-dev-ppay-infrastructure.cluster-cfni24qvajia.us-west-2.rds.amazonaws.com

Frequently Asked Questions about dx mysql pipe

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect to a remote MySQL database through a local tunnel?

MySQL tunneling establishes a secure pipe from your local machine to a remote database, enabling direct access without exposing the database to the internet. This Skill automates tunnel creation by accepting a remote host, assigning a local port, and caching the connection for reuse.

Can I avoid manually managing ports when piping to remote MySQL instances?

Yes. This Skill automatically selects an available local port in the 7000–7999 range, checks for conflicts, and handles port assignment without manual configuration, simplifying repeated connections to the same host.

How do I reuse connections to the same remote MySQL host without reconfiguring each time?

The Skill supports nickname caching—assign a memorable alias to a remote host once, and future connections use that nickname instead of the full hostname, reducing typing and eliminating configuration duplication.

What infrastructure do I need to use MySQL tunneling with remote databases?

You need access to a remote host running MySQL, dx installed or available via npx, and Claude Code. The Skill handles secure tunneling and port management; you provide the remote hostname or nickname.

Can I terminate a MySQL tunnel after I'm done debugging or accessing the database?

Yes. The Skill supports tunnel termination, allowing you to close the connection cleanly after you've completed your database work, freeing the local port for other use.

What happens if the local port I need is already in use?

The Skill checks port availability before establishing the tunnel. If your requested port is occupied, it prompts you to select an alternative available port or automatically suggests one from the 7000–7999 range.