Category: 

What Is a Connection String?

Article Details
  • Written By: T.S. Adams
  • Edited By: M. C. Hughes
  • Last Modified Date: 22 August 2016
  • Copyright Protected:
    2003-2016
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
The atmosphere of Jupiter's moon Io collapses every time it is eclipsed by the planet.   more...

September 29 ,  2008 :  The Dow Jones Industrial Average experienced its largest one-day drop in history.  more...

When accessing information from the Internet or any other network, a user must provide the computer with commands to indicating where and how to access the requisite data. Although the only step for the end-user is typing in a web address, within the computer, much more is going on. The connection string for the computer is a string — a list of characters and information — which provides the computer with parameters about accessing a specific piece of data.

Think of a connection string like a note containing the address of a particular restaurant along with information about a reservation as well as any other relevant information about the dining experience, such as table size and dress code. A typical connection string contains information such as the address of the server containing the information, whether the server containing the information operates using the Secure Socket Layer (SSL) standard, the specific type of SSL mode utilized, the specific database containing the requested information, user identification information, password information, and the connection timeout number.

Ad

Although the process is completely transparent to most end-users, the connection string information is transferred from the location where it is stored — whether on the specific computer or on another computer on the same network — to the driver file for the network card. A driver file is a file which tells the computer's operating system how to use a specific piece of hardware, such as the computer's graphics or network card. Once the driver file receives the file containing the connection string information, it can then use the information to establish a connection between the computer's Ethernet or other type of networking card and the remote server or database containing the desired information.

The location to specify a particular type of connection string varies depending on the software program used. For example, some database programs allows users to enter command-line connection strings (manual inputting of the specific connection string information). Alternatively, the user can store the connection string information in a specific file, automating the process of input. In either event, the actual process of using the connection string remains the same: the computer passes the data to the driver which utilizes the networking device(s) on the computer to connect with and retrieve the requested data. The only difference is whether the end-user wishes to use a static string — in a stored file — or enter the string on-the-fly, as might be required for a database with a frequently changing password.

Ad

You might also Like

Recommended

Discuss this Article

Post your comments

exception 'Exception' with message 'error writing captcha: Duplicate entry '2147483647' for key 'PRIMARY'' in /ssd/www/wisegeek/public_html/_core/classes/public/Captcha.php:44
Stack trace:
#0 /ssd/www/wisegeek/public_html/_core/controls/public/ControlDiscussionPostBox.php(324): Captcha->createCaptcha()
#1 /ssd/www/wisegeek/public_html/framework/classes/Control.php(104): ControlDiscussionPostBox->preRender(false)
#2 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): Control->render()
#3 /ssd/www/wisegeek/public_html/tpl/default-nocustom-lu/pages/public/article/article.htm(526): Control->__toString()
#4 /ssd/www/wisegeek/public_html/framework/classes/Control.php(300): require('/ssd/www/wisege...')
#5 /ssd/www/wisegeek/public_html/framework/classes/Control.php(309): Control->requireTpl('pages/public/ar...', Object(PageArticleCom), true)
#6 /ssd/www/wisegeek/public_html/framework/classes/Control.php(131): Control->renderTpl('pages/public/ar...', Object(PageArticleCom))
#7 /ssd/www/wisegeek/public_html/framework/classes/FormDataControl.php(87): Control->renderTemplate()
#8 /ssd/www/wisegeek/public_html/framework/classes/Control.php(109): FormDataControl->renderTemplate()
#9 /ssd/www/wisegeek/public_html/framework/classes/ScriptPage.php(50): Control->render(false)
#10 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): ScriptPage->render()
#11 /ssd/www/wisegeek/public_html/framework/classes/Page.php(97): Control->__toString()
#12 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(443): Page->processRequest()
#13 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(7): PublicFrontController->renderPage()
#14 /ssd/www/wisegeek/public_html/index.php(11): PublicFrontController::run()
#15 {main}