Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928940]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2016-12-10 22:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (165 votes). Check out past polls.