SSH 터널을 사용하면 암호화된 연결과 추가 인증이 제공됩니다. 이 방법은 더 안전하지만 설정하는 데 시간이 더 많이 걸립니다.
데이터베이스에서 Looker와 함께 작동하도록 설정합니다. 안내는 언어마다 상당히 다릅니다. 일반적으로 이 단계에는 Looker에 데이터베이스 액세스 권한을 추가하고 Looker가 데이터베이스에서 파생된 테이블을 만들 수 있도록 스크래치 스키마를 만드는 작업이 포함됩니다. 필요한 안내를 보려면 Looker 언어 문서 페이지로 이동하여 데이터베이스 언어를 클릭하세요.
Looker에서 관리자 패널의 연결 페이지로 이동합니다. 무료 체험을 사용하는 경우 일반적으로 해당 페이지에 대한 연결이 해제됩니다.
연결 추가를 클릭하여 연결을 설정합니다. 연결 세부정보를 작성합니다. 대다수의 설정은 대부분의 데이터베이스 언어에 공통적으로 적용됩니다. 자세한 내용은 데이터베이스에 Looker 연결 문서 페이지를 참조하세요. 일반적으로 다음 값을 지정합니다.
연결을 참조하는 데 사용할 이름
데이터베이스 언어
데이터베이스에 연결하기 위한 연결 정보
Looker에서 파생 테이블을 데이터베이스에 쓸 수 있는지와 연결이 어떻게 작동하는지를 비롯한 다양한 옵션
데이터베이스 데이터가 저장되는 시간대
데이터베이스에서 필요한 경우 추가 JDBC 연결 문자열 매개변수
새 연결 페이지 하단에서 테스트를 클릭하여 Looker가 데이터베이스에 도달할 수 있도록 설정을 확인합니다. 테스트를 통과하지 못한 경우 데이터베이스 연결 테스트 문서 페이지의 문제 해결 단계를 시도해 보세요. 그래도 문제가 해결되지 않으면 데이터베이스 관리자에게 데이터베이스 세부정보를 다시 확인한 후 Looker 분석가 또는 Looker 지원팀에 도움을 요청하세요.
테스트가 완료되면 연결을 클릭합니다. 이제 연결이 관리 패널의 연결 페이지에 표시됩니다. 무료 체험을 사용하는 경우 해당 페이지에 처음 연결됩니다.
다음으로 연결이 제대로 작동하는지 다시 확인하는 것이 좋습니다. Looker에서 개발 메뉴를 사용하여 SQL Runner로 이동합니다. 그러면 이 연결을 사용하여 SQL 쿼리 직접 입력 및 실행과 같은 다양한 작업을 수행할 수 있습니다.
SQL Runner에서 만든 연결의 이름과 연결에 지정한 데이터베이스 또는 스키마를 선택합니다. 그런 다음 예상되는 테이블이 표시되는지 확인합니다. 테이블을 클릭하면 이 테이블의 열이 표시되며 Looker에서 연결을 사용하여 데이터베이스 테이블에 액세스할 수 있었는지 확인합니다.
이제 데이터베이스 연결을 설정하고 Looker가 데이터베이스에 연결할 수 있음을 확인했습니다.
다음 단계
무료 체험을 사용하는 경우 일반적으로 Looker 분석가가 다른 프로젝트 설정 단계를 진행했을 것입니다. 무료 체험판 시작 회의 전에 시간이 충분하다면 Looker에서 개발 시작하기 문서 페이지로 시작하는 개발 프로세스 튜토리얼을 읽어보거나 Google Cloud Skills Boost에서 Looker 학습 과정에 등록하세요.
[[["이해하기 쉬움","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-07-31(UTC)"],[],[],null,["# Creating connections tutorial\n\nGeneral steps for creating a connection\n---------------------------------------\n\nThe exact steps you need to take depend on the database dialect you are using and the other choices you make. This page serves as an outline of the steps you need to take to create a connection, with links to the details you need.\n\nThe steps are:\n\n1. From your database administrator, get the contact details for your database such as hostname, database or schema name, username, and password.\n\n2. Enable secure access to your database. There are two ways to do this:\n\n - Using an [IP address allowlist](/looker/docs/enabling-secure-db-access#option_1:_ip_address_allowlist), optionally adding [SSL encryption](/looker/docs/enabling-secure-db-access#option_2:_ssl_encryption).\n - Using an [SSH tunnel](/looker/docs/using-an-ssh-tunnel), which provides an encrypted connection and extra authentication. This is more secure but also is more time-consuming to set up.\n3. On your database, set it up to work with Looker. The instructions vary quite a bit from dialect to dialect. Typically the steps include adding permissions for Looker to access the database and possibly creating a scratch schema for Looker to create derived tables in the database. To see the instructions you need, go to the [Looker dialects](/looker/docs/dialects#setting_up_your_database) documentation page and click on your database dialect.\n\n4. In Looker, go to the **Admin** panel's **Connection** page. If you are in a trial, typically you won't have any connections on that page.\n\n5. Click **Add Connection** to set up the connection. Fill 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. In general, you specify the following values:\n\n - The name you want to use to refer to the connection\n - The database dialect\n - The connection information for reaching your database\n - Various options, including whether you'll let Looker write derived tables to the database and how you want the connection to behave\n - What time zone the database data is stored in\n - Additional JDBC connection string parameters, if needed by your database\n6. At the bottom of the **New Connections** page, click **Test** to verify the settings for Looker to reach the database. If any of the tests do not pass, try some of the troubleshooting steps on the [Testing database connectivity](/looker/docs/testing-db-connectivity) documentation page. If you are still having trouble, double-check the database details with your database administrator, and then contact your Looker analyst or the Looker support team for assistance.\n\n7. When the testing is successful, click **Connect** . The connection now appears on the **Admin** panel's **Connection** page. If you are in a trial, this will be your first connection on that page.\n\n8. Next, it is a good practice to double-check that your connection is working properly. In Looker, [use the **Develop** menu to go to SQL Runner](/looker/docs/sql-runner-basics#navigating_to_sql_runner), which lets you use a connection to do a variety of tasks such as directly typing and running SQL queries.\n\n9. In SQL Runner, select the name of the connection you created and the database or schema that you specified for the connection. Then check that the expected tables are listed. [Clicking a table](/looker/docs/sql-runner-manage-db#getting_table_information) will show the columns in that table, verifying that Looker was able to use the connection to access your database tables.\n\nYou have now set up the database connection and verified that Looker can reach the database.\n\nNext steps\n----------\n\nIf you are in a trial, your Looker analyst typically will have performed the other project setup steps for you. If you have time before your trial kickoff meeting, consider reading through the Development Process tutorials, which begin with the [Getting started developing in Looker](/looker/docs/data-modeling) documentation page, or consider the Looker courses on [Google Cloud Skills Boost](https://www.cloudskillsboost.google/paths/28).\n\nIf you are not in a trial, the next steps for creating a new project are:\n\n- [Creating a project](/looker/docs/generating-a-model) to hold your data model\n- [Configuring the project](/looker/docs/manage-projects#configuring_a_new_lookml_project) to accept your connection\n- [Setting up and testing Git](/looker/docs/setting-up-git-connection) to manage changes to the data model\n\nThen you are ready to [start writing LookML](/looker/docs/what-is-lookml) and [deploying your changes to production](/looker/docs/version-control-and-deploying-changes#getting_your_changes_to_production) for your business users to do adhoc queries and create dashboards."]]