Hi,
I am trying to use template toolkit with the DBIProxy module, and I am getting
a connect error.
I try and connect to the database with the following:
[% USE DBI( database => 'dbi:Proxy',
hostname => '10.0.2.26,
port => '1234',
dsn => 'dbi:ODBC:OTDatabase',
username => 'Admin',
password => '')
%]
and I get the following error:
file error - parse error: catalogue.tex line 3-9: unexpected token
(dbi:ODBC:OTDatabase)
[% USE DBI( database => 'dbi:Proxy',
hostname => '10.0.2.26,
port => '1234',
dsn => 'dbi:ODBC:OTDatabase',
username => 'Admin',
password => '') %] at /usr/bin/tpage line 61.
I can't tell if this is because DBI does not support the dsn option, or if I
am specifying the dsn incorrectly?
Any ideas?
Thanks,
Jason
--
Jason Lewis
Director of Operations
Organic Trader Pty Ltd
PO Box 552
St Leonards
NSW 1590
Australia
tel. +612 8399 0122
fax. +612 8399 1766
|