1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/manual/docs/Basic Components - DB - Connecting to a database.php

11 lines
261 B
PHP

<?php
// using PDO dsn for connecting sqlite memory table
//$dbh = Doctrine_DB::getConnection('sqlite::memory:');
// using PEAR like dsn for connecting mysql database
//$dbh = Doctrine_DB::getConnection('mysql://root:password@localhost/test');
?>