Repository navigation
Difficaulty linking existing database. #1527
Unanswered
RayneRed13
asked this question in
Q&A
Replies: 1 comment
|
Your connection dialog uses Windows Authentication, but SQLPage's MSSQL driver (sqlx) only supports SQL Server Authentication — there's no integrated/NTLM support. So Then sqlpage/sqlpage.json would look like: {
"database_url": "mssql://myuser:mypassword@localhost/mydatabase?instance=SQLEXPRESS&encrypt=mandatory&trust_server_certificate=true"
}Otherwise, you can use odbc : {
"database_url": "Driver={ODBC Driver 18 for SQL Server};Server=localhost\\SQLEXPRESS;Database=sqlpage;Trusted_Connection=yes;Encrypt=yes;TrustServerCertificate=yes"
}You can find the driver name with reg query "HKLM\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers" |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I've been trying to link my existing database.
These are the settings. What do I have to put in the json file?
All reactions