I have issue connection SQL Server to Alteryx Server. I tried adding SQL Connection through DCM Alteryx Server and installing driver on ODBC Data Source Admin on laptop. I faced 2 issues:
Solved! Go to Solution.
Hi @thaodinh9 ,
When working the database connections between designer and server, there are some important things to keep in mind
Related to having access to the table, this could be a permission issue or maybe you are connected to the wrong database (master)
Best,
Fernando Vizcaino
Agree with the previous response. We've also found that the workflow run-as credentials override any credentials embedded in the Input/Output tools for SQL Server. The only way to avoid that is to:
1. Use a DSN-less connection string as Fernando mentions, AND
2. Add your desired ID to the SQL Server database as user type "SQL user with login", NOT "Windows user"
Thanks so much! I follow your provided link and it worked like a charm.
About not able to access certain table, it turns out there are multiple databases under my schema. With DSN connection, I can't specify my desired database (it keeps hitting "master"). With DSN-less connection, I can specify with DATABASE={Databasename}.