Opening a new database connection in Doctrine is very easy. If you wish to use PDO (www.php.net/PDO) you can just initalize a new PDO object:

getMessage(); } ?>"); ?>

If your database extension isn't supported by PDO you can use special Doctrine_Adapter class (if availible). The following example uses db2 adapter:

getMessage(); } ?>"); ?>

The next step is opening a new Doctrine_Connection.

"); ?>