Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: Re: DBD Drivers query

by sutch (Curate)
on Apr 06, 2001 at 17:38 UTC ( #70462=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: DBD Drivers query
in thread DBD Drivers query

Without reading up too much about why DBD::Proxy may be choking on the data_sources call, I did find that DBD::Proxy should not have any effect on Mysql. From the DBD::Proxy documentation:

DBD::Proxy is a Perl module for connecting to a database via a remote DBI driver.

This is of course not needed for DBI drivers which already support connecting to a remote database, but there are engines which don't offer network connectivity.

I would suggest limiting your data_sources method calls to only driver(s) that your are going to use. For example, use a conditional such as if ($driver eq 'mysql') so that only the mysql driver is queried for data_sources.


Comment on Re: Re: Re: DBD Drivers query
Download Code
Replies are listed 'Best First'.
Re: Re: Re: Re: DBD Drivers query
by costas (Scribe) on Apr 06, 2001 at 18:52 UTC
    That is what i have done.

    Also note that DBD::Multiplex also has a problem with datasources!!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://70462]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2015-07-30 17:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls