Skip to content

Allow "Database" instead of requiring "Initial Catalog" in connection string #72

Description

@zijchen

Database and Initial Catalog are interchangeable in a MSSQL connection string: https://docs.microsoft.com/dotnet/api/system.data.sqlclient.sqlconnectionstringbuilder.initialcatalog#remarks

However if only "Database" is supplied to sql-action, following error is thrown:

Error: Missing required keys in connection string. Please ensure that the keys 'User Id', 'Password', 'Initial Catalog' are provided in the connection string.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions