On Oct 18, 3:49 pm, Jeremy Evans <[email protected]> wrote:
> On Oct 18, 2:09 am, Gary Doades <[email protected]> wrote:
>
> My guess is the :servers hash you are passing to the method is
> incorrect, but I don't have enough data to state that reliably.
>
> Jeremy
Aha.. If I specify the servers hash in the form:
{:dsn1=>{:database=>'dsn1', :user => 'sa', :password => 'test'},
:dsn2=>{:database=>'dsn2', :user => 'sa', :password => 'test'}}
Then it seems to work OK for all shards.
It seems it's the :uri form that doesn't work with sharding, although
it works perfectly well for a single database connection.
Cheers,
Gary.
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sequel-talk?hl=en.