I wrote:
Maybe it's because it's Friday afternoon but my brain is refusing to
tell me what I've done wrong here. I'm trying to install TT 2.14 on a
newish box and it's failing in dbi.t, both in the CPAN shell and if I
run dbi.t directly:
Template process failed: DBI error - DBI connect failed: Can't connect
to MySQL server on 'test' (113)
FAILED 14: - template text 6 process FAILED: [% USE dbi -%]\n[%
dbi.connect(da...
not ok 14 - template text 6 process FAILED: [% USE dbi -%]\n[%
dbi.connect(da...FAILED 15: - (obviously did not match expected)
not ok 15 - (obviously did not match expected)
ok 16 -
I haven't found anything relevant on the mailing list archive.
I've now spent some time finding the cause of this and only after that
(yes, Murphy's alive and well) did I find this message from over a year ago:
http://template-toolkit.org/pipermail/templates/2004-March/thread.html#5928
which seems to explain the bug and possible solutions pretty well. He
didn't get a reply either. There's also a bug report from earlier this
year (#9389) but that only fixes the test, not the underlying problem.
Cheers, Dave
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates