Skip to content

Allow using pscale connect with the serverless driver for JavaScript #621

Description

@jacobwgillespie

Hey! We've been using pscale connect --execute 'pnpm dev' in local development, to connect to our database. We've recently been using the @planetscale/database serverless driver and would love to be able to use that with pscale connect as well.

Currently the injected DATABASE_URL environment variable assumes the MySQL protocol - I'm not sure what would be involved in offering that same functionality but for the serverless driver, I could imagine a --protocol http option or similar flag to switch proxy modes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions