[Templates] SOLVED Using DBI plugin to access a remote database

Jeremiah Foster jeremiah.foster@clickstore.se
Tue, 12 Sep 2006 17:05:56 +0200


On Tue, 2006-09-12 at 16:02 +0100, Richard Clamp wrote:

* snip *

> > I must be doing something wrong. Just not sure where.
> 
> You're not specifying your DSN correctly.
> 
> 'dbi:mysql:my_website'
>   needs to become
> 
> 'dbi:mysql:my_website;host=remote_host'
> 
> There's no magic 4th argument.

Heh. Thanks Richard!