Skip to content

Glossary: PHP Basics

DSN (Data Source Name)

Also written: DSN

The string that tells PDO which database to connect to. For SQLite it's `sqlite:` plus the file path.

Where the book teaches it

Related terms

SQLite