Connecting to a SQL database for a new user #1099
Answered
by
lovasoa
myworkaccountforsql
asked this question in
Q&A
Answered by
lovasoa
Nov 13, 2025
Replies: 1 comment
|
Hello and welcome to SQLPage ! Create or edit {
"database_url": "mssql://sa:YOUR_PASSWORD@13.129.71.117/?instance=imagetrustsql"
}What each part means:
More detailed about available connection options: https://docs.rs/sqlx-oldapi/latest/sqlx_oldapi/mssql/struct.MssqlConnectOptions.html#method.from_str If that does not work, you can rerun sqlpage while setting the env variable SQLPage also supports ODBC. You can configure an odbc connection string to that database and use it both from SQLPage and from other applications. Previous discussions about Microsoft SQL server connection options: |
0 replies
Answer selected by
myworkaccountforsql
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hello and welcome to SQLPage !
Create or edit
sqlpage/sqlpage.jsonand add:{ "database_url": "mssql://sa:YOUR_PASSWORD@13.129.71.117/?instance=imagetrustsql" }What each part means:
mssql://— tells SQLPage you're using SQL Serversa:YOUR_PASSWORD@— your username (sa) and password (replaceYOUR_PASSWORDwith 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…