Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Importing MySQL dump file remotely

by igelkott (Priest)
on Aug 09, 2008 at 08:57 UTC ( #703247=note: print w/replies, xml ) Need Help??


in reply to Importing MySQL dump file remotely

A simple, non-perl solution would be to use the local mysql client:

mysql -hserver -p < dump.sql
The 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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2021-04-11 19:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?