Skip to content

Instantly share code, notes, and snippets.

@jamesshenry
Last active June 20, 2023 13:21
Show Gist options
  • Save jamesshenry/5c09ed24c187ad2931e1fda87489c73e to your computer and use it in GitHub Desktop.
Save jamesshenry/5c09ed24c187ad2931e1fda87489c73e to your computer and use it in GitHub Desktop.
Connection String examples for local database connections
localdb: "Server=(localdb)\MSSQLLocalDB;Integrated Security=true;Initial Catalog=<SET_DB_NAME>"
postgresql: "Server=localhost;Port=5432;Database=my_db;Username=postgres;Password=postgres"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment