Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Restore Database With DBI?

by Khen1950fx (Canon)
on Sep 30, 2011 at 22:05 UTC ( #928940=note: print w/ replies, xml ) Need Help??


in reply to Restore Database With DBI?

You could run a trace on it to get more info:

#!/usr/bin/perl use strict; use warnings; use DBI; my $dbh = DBI->connect( "dbi:AnyData:testdb", "username", "password", ); my $db_load_file = '/home/user/testdb.log'; DBI->trace(2); doPrepare(); exit; sub doPrepare { my $sth; $sth = $dbh->prepare( "SELECT source FROM $db_load_file" ), $sth->execute; }


Comment on Re: Restore Database With DBI?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (14)
As of 2014-09-02 11:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (22 votes), past polls