By default Tangra Framework uses ADOdb as a database abstraction layer in order to provide applications with independence from underlaying RDBMS. A portable way of passing connection parameters to ADOdb (and many other DBAL, such as PDO, etc.) methods is via DSNs.
Generally speaking: DSNs provide a universal mechanism to supply the connection parameters used to connect to different DBs.
They are formed in following manner:
$driver://$username:$password@hostname/$database?options[=value]
Where:
Example B.1. Examples for DSNs:
mysqlt://tcc:tccpass@localhost/tcc_db?persist mysqlt://my_user:1234@localhost/my_db?persist&port=3307 mysqlt://ogre:das239aar2@localhost/testbase?new