Problems? Is your data what you think it is? | |
PerlMonks |
Re: Importing MySQL dump file remotelyby igelkott (Priest) |
on Aug 09, 2008 at 08:57 UTC ( [id://703247]=note: print w/replies, xml ) | Need Help?? |
A simple, non-perl solution would be to use the local mysql client: mysql -hserver -p < dump.sqlThe password should be set in your .my.cnf (or equiv). Specify the database for loading single db dumps. If the mysql client isn't available locally, install it; it's worth the small effort.
In Section
Seekers of Perl Wisdom
|
|