Databases & SQL

Connection String

/kəˈnekʃən strɪŋ/

Definition

A formatted string containing database host, port, credentials, and database name to establish a connection.

Example in context

"Store the connection string in an environment variable — never hardcode credentials in source code."

Related terms

Practice this term

Master Connection String in context by working through exercises in the Databases & SQL module. You'll see the term used in real engineering scenarios with multiple-choice, fill-in-the-blank, and matching drills.