<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Connection_string</id>
	<title>Connection string - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Connection_string"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Connection_string&amp;action=history"/>
	<updated>2026-10-25T20:46:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Connection_string&amp;diff=4776169&amp;oldid=prev</id>
		<title>imported&gt;Cedar101: /* Examples */ fix syntaxhighlight error</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Connection_string&amp;diff=4776169&amp;oldid=prev"/>
		<updated>2025-06-12T07:09:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Examples: &lt;/span&gt; fix syntaxhighlight error&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In computing, a &amp;#039;&amp;#039;&amp;#039;connection string&amp;#039;&amp;#039;&amp;#039; is a [[String (computer science)|string]] that specifies information about a data source and the means of connecting to it. It is passed in code to an underlying [[software driver|driver]] or provider in order to initiate the connection. Whilst commonly used for a [[database connection]], the data source could also be a [[spreadsheet]] or text file.&lt;br /&gt;
&lt;br /&gt;
The connection string may include attributes such as the name of the driver, [[server (computing)|server]] and [[database]], as well as security information such as user name and password.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
This example shows a [[PostgreSQL]] connection string for connecting to wikipedia.com with SSL and a connection timeout of 180 seconds:&lt;br /&gt;
&lt;br /&gt;
 DRIVER={PostgreSQL Unicode};SERVER=www.wikipedia.com;SSL=true;SSLMode=require;DATABASE=wiki;UID=wikiuser;Connect Timeout=180;PWD=ashiknoor&lt;br /&gt;
&lt;br /&gt;
Users of [[Oracle database]]s can specify connection strings:&lt;br /&gt;
&lt;br /&gt;
* on the [[command line]] (as in: &amp;lt;code&amp;gt;sqlplus scott/tiger@connection_string&amp;lt;/code&amp;gt; )&lt;br /&gt;
* via [[environment variable]]s (&amp;lt;code&amp;gt;$TWO_TASK&amp;lt;/code&amp;gt; in Unix-like environments; &amp;lt;code&amp;gt;%TWO_TASK%&amp;lt;/code&amp;gt; in Microsoft Windows environments)&amp;lt;ref name=&amp;quot;:0&amp;quot;&amp;gt;&lt;br /&gt;
{{cite web&lt;br /&gt;
| url         = http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch2.htm#sthref360&lt;br /&gt;
| title       = Configuring SQL*Plus&lt;br /&gt;
| first       = Simon&lt;br /&gt;
| last        = Watt&lt;br /&gt;
|date=June 2005&lt;br /&gt;
| work        = SQL*Plus User&amp;#039;s Guide and Reference: Release 10.2&lt;br /&gt;
| publisher   = [[Oracle Corporation]]&lt;br /&gt;
| location    = Redwood City&lt;br /&gt;
| accessdate  = 2010-08-26&lt;br /&gt;
| quote       = LOCAL [:] Windows environment variable to specify a connection string. Performs the same function as TWO_TASK on UNIX.&lt;br /&gt;
|display-authors=etal}}&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
* in local [[configuration file]]s (such as the default &amp;lt;code&amp;gt;$ORACLE_HOME/network/admin.tnsnames.ora&amp;lt;/code&amp;gt;)&amp;lt;ref&amp;gt;&lt;br /&gt;
{{cite book&lt;br /&gt;
|last= Kyte&lt;br /&gt;
|first= Thomas&lt;br /&gt;
|title= Expert Oracle database architecture: 9i and 10g programming techniques and solutions&lt;br /&gt;
|url= https://archive.org/details/expertoracledata0000kyte&lt;br /&gt;
|url-access= registration&lt;br /&gt;
|accessdate= 2010-08-26&lt;br /&gt;
|series= Apress series&lt;br /&gt;
|year= 2005&lt;br /&gt;
|publisher= Apress&lt;br /&gt;
|isbn= 978-1-59059-530-5&lt;br /&gt;
|page= [https://archive.org/details/expertoracledata0000kyte/page/60 60]&lt;br /&gt;
|quote= The TNS connection string tells the Oracle software how to connect to the remote database. Generally, the client software [...] will read a file called &amp;lt;code&amp;gt;tnsnames.ora&amp;lt;/code&amp;gt;. 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).&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
* in [[LDAP]]-capable [[directory service]]s&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Data source name]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* {{Cite web|url=https://docs.microsoft.com/en-us/sql/odbc/microsoft/connection-string-format-and-attributes?view=sql-server-2017|title=Connection strings in SQL Server 2017|accessdate = 15 June 2019}}&lt;br /&gt;
{{Use dmy dates|date=June 2019}}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Connection String}}&lt;br /&gt;
[[Category:Databases]]&lt;br /&gt;
[[Category:SQL data access]]&lt;br /&gt;
[[Category:String (computer science)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{comp-sci-stub}}&lt;/div&gt;</summary>
		<author><name>imported&gt;Cedar101</name></author>
	</entry>
</feed>