Thomas Klausner a �crit :
Hi!
On Sat, Apr 16, 2005 at 10:16:48PM +0200, Jean-Michel Caricand wrote:
[% USE DBI('dbi:Pg:facturecq', 'xxx', 'xxx') %]
If I use DBI with MySQL and another database, all work fine !
DBD::Pg has a different connection syntax than DBD::mysql
see perldoc DBD::Pg
$dbh = DBI->connect("dbi:Pg:dbname=$dbname", "", "")
So you need to change your code to
[% USE DBI('dbi:Pg:dbname=facturecq', 'xxx', 'xxx') %]
Hi,
Ok, I see.
Thank you for your anwser.
_______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
