Microsoft Azure Synapse Analytics 데이터베이스에 연결하고 데이터베이스 사용자를 만듭니다.
CREATEUSERlookerFORLOGINlooker;
현재 실행 중인 쿼리를 감지하고 중지할 수 있는 권한이 Looker에 있어야 하며, 이를 위해서는 다음 권한이 필요합니다.
ALTERANYCONNECTIONVIEWSERVERSTATE
이러한 권한을 부여하려면 다음을 실행합니다.
GRANTCONTROLONDATABASE::userDatabaseTOlooker;
사용 중인 Microsoft Azure Synapse Analytics 등급에 따라 VIEW DATABASE STATE 권한을 명시적으로 부여해야 할 수도 있습니다.
VIEW DATABASE STATE 권한을 부여하려면 다음을 실행합니다.
GRANTVIEWDATABASESTATETOlooker;
임시 스키마 설정
Looker 사용자가 소유한 스키마를 만듭니다.
CREATESCHEMAlooker_scratchAUTHORIZATIONlooker;
데이터베이스에 대한 Looker 연결 만들기
Looker의 관리 섹션에서 연결을 선택한 후 연결 추가를 클릭합니다.
연결 세부정보를 작성합니다. 대다수의 설정은 대부분의 데이터베이스 언어에 공통적으로 적용됩니다. 자세한 내용은 데이터베이스에 Looker 연결 문서 페이지를 참조하세요. 다음 필드에는 Microsoft Azure Synapse Analytics에 적용되는 추가 정보가 있습니다.
언어: Microsoft Azure Synapse Analytics를 선택합니다.
원격 호스트 및 포트: 호스트 이름과 포트를 입력합니다(기본 포트는 1433).
1433 이외의 기본값이 아닌 포트를 지정하되 데이터베이스에 콜론 대신 쉼표를 사용해야 하는 경우 연결 설정의 추가 JDBC 매개변수 필드에 useCommaHostPortSeparator=true를 추가하면 원격 호스트:포트 필드에 쉼표를 사용할 수 있습니다. 예를 들면 다음과 같습니다.
jdbc:sqlserver://hostname,1434
제대로 연결되었는지 확인하려면 테스트를 클릭합니다. 문제 해결 정보는 데이터베이스 연결 테스트 문서 페이지를 참조하세요.
이러한 설정을 저장하려면 연결을 클릭합니다.
기능 지원
Looker가 특정 기능을 지원하려면 데이터베이스 언어도 해당 기능을 지원해야 합니다.
Microsoft Azure Synapse Analytics는 Looker 25.14부터 다음 기능을 지원합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-08-18(UTC)"],[],[],null,["# Microsoft Azure Synapse Analytics\n\nEncrypting network traffic\n--------------------------\n\nIt is a best practice to encrypt network traffic between the Looker application and your database. Consider one of the options described on the [Enabling secure database access](/looker/docs/enabling-secure-db-access) documentation page.\n\nTo learn more about using SSL encryption, see the [Microsoft documentation](https://azure.microsoft.com/en-us/documentation/articles/cloud-services-configure-ssl-certificate/).\n\nUsers and security\n------------------\n\nFirst, connect to the `master` database on your server with your server admin login: \n\n CREATE LOGIN looker\n WITH PASSWORD = '\u003cstrong_password\u003e';\n\nConnect to your Microsoft Azure Synapse Analytics database and create a database user: \n\n CREATE USER looker FOR LOGIN looker;\n\nLooker must be authorized to detect and stop currently running queries, which requires the following permissions: \n\n ALTER ANY CONNECTION\n VIEW SERVER STATE\n\nTo grant these permissions, run the following: \n\n GRANT CONTROL ON DATABASE::userDatabase TO looker;\n\n\u003e Depending on the Microsoft Azure Synapse Analytics tier being used, you may also need to explicitly grant the `VIEW DATABASE STATE` permission.\n\nTo grant `VIEW DATABASE STATE` permission, run the following: \n\n GRANT VIEW DATABASE STATE TO looker;\n\nTemp schema setup\n-----------------\n\nCreate a schema owned by the Looker user: \n\n CREATE SCHEMA looker_scratch AUTHORIZATION looker;\n\nCreating the Looker connection to your database\n-----------------------------------------------\n\nIn the **Admin** section of Looker, select **Connections** , and then click **Add Connection**.\n\nFill out the connection details. The majority of the settings are common to most database dialects. See the [Connecting Looker to your database](/looker/docs/connecting-to-your-db) documentation page for information. The following fields have additional information that applies to Microsoft Azure Synapse Analytics:\n\n- **Dialect** : Select **Microsoft Azure Synapse Analytics**.\n- **Remote Host** and **Port**: Enter the hostname and port (the default port is 1433).\n\n If you need to specify a non-default port other than 1433 and your database requires the use of a comma instead of a colon, you can add `useCommaHostPortSeparator=true` in the **Additional JDBC parameters** field further down in the connection settings, which will allow you to use a comma in the **Remote Host:Port** field. For example:\n\n `jdbc:sqlserver://hostname,1434`\n\nTo verify that the connection is successful, click **Test** . See the [Testing database connectivity](/looker/docs/testing-db-connectivity) documentation page for troubleshooting information.\n\nTo save these settings, click **Connect**.\n\nFeature support\n---------------\n\nFor Looker to support some features, your database dialect must also support them.\n\nMicrosoft Azure Synapse Analytics supports the following features as of Looker 25.14:"]]