Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^2: Restore Database With DBI?

by kurt2439 (Sexton)
on Sep 30, 2011 at 20:44 UTC ( #928914=note: print w/ replies, xml ) Need Help??

in reply to Re: Restore Database With DBI?
in thread Restore Database With DBI?

The SQL file is like 6GB, but I guess as long as I go through the file lines with 'while' and not 'foreach' it wouldn't really use up much memory via perl, right?

I could do it with mysql binary, but I need this procedure automated. I guess I can create a mysql profile file for that user so it doesn't prompt for a password. We'll see -- I just wanted to know how to keep it all in perl and it seems like you answered that. Thanks!

Comment on Re^2: Restore Database With DBI?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2015-11-29 23:01 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (754 votes), past polls