접속 문자열

Connection string

컴퓨팅에서 연결 문자열은 데이터 원본에 대한 정보와 데이터 원본에 연결하는 방법을 지정하는 문자열입니다.접속을 개시하기 위해서, 기반이 되는 드라이버 또는 프로바이더에 코드가 건네집니다.일반적으로 데이터베이스 연결에 사용되지만 데이터 원본은 스프레드시트 또는 텍스트 파일일 수도 있습니다.

접속 문자열에는 드라이버 이름, 서버, 데이터베이스 등의 속성과 사용자 이름 및 비밀번호 등의 보안 정보가 포함될 수 있습니다.

다음 예시는 SSL과 180초의 접속 타임아웃을 사용하여 wikipedia.com에 접속하기 위한 Postgres 연결 스트링을 보여 줍니다.

드라이버={우체국SQL Unicode};SERVER=www.wikipedia.com;SSL=true;SSLMode=module;DATABASE=module;UID=moder;연결 시간 초과=180;PWD=애시크누어

오라클 데이터베이스 사용자는 연결 문자열을 지정할 수 있습니다.

레퍼런스

  1. ^ Watt, Simon; et al. (June 2005). "Configuring SQL*Plus". SQL*Plus User's Guide and Reference: Release 10.2. Redwood City: Oracle Corporation. Retrieved 26 August 2010. LOCAL [:] Windows environment variable to specify a connection string. Performs the same function as TWO_TASK on UNIX.
  2. ^ Kyte, Thomas (2005). Expert Oracle database architecture: 9i and 10g programming techniques and solutions. Apress series. Apress. p. 60. ISBN 978-1-59059-530-5. Retrieved 26 August 2010. The TNS connection string tells the Oracle software how to connect to the remote database. Generally, the client software [...] will read a file called tnsnames.ora. This is a plaint-text configuration file commonly found in the [ORACLE_HOME]\network\admin directory ([ORACLE_HOME] represents the full path to your Oracle installation directory).

외부 링크