Skip to content
Discussion options

You must be logged in to vote

Hello and welcome to SQLPage !

Create or edit sqlpage/sqlpage.json and add:

{
  "database_url": "mssql://sa:[email protected]/?instance=imagetrustsql"
}

What each part means:

  • mssql:// — tells SQLPage you're using SQL Server
  • sa:YOUR_PASSWORD@ — your username (sa) and password (replace YOUR_PASSWORD with your actual password)
  • 13.129.71.117 — your server's IP address (the latest sqlpage should find the port your instance is listening on automatically)
  • ?instance=imagetrustsql — the instance name from your server (13.129.71.117\imagetrustsql)

More detailed about available connection options: https://docs.rs/sqlx-oldapi/latest/sqlx_oldapi/mssql/struct.MssqlConnectOptions.html#method…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by myworkaccountforsql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants