Connecting to a SQL database for a new user #1099
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hello and welcome to SQLPage ! Create or edit {
"database_url": "mssql://sa:[email protected]/?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: |
Beta Was this translation helpful? Give feedback.

Hello and welcome to SQLPage !
Create or edit
sqlpage/sqlpage.jsonand add:{ "database_url": "mssql://sa:[email protected]/?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…