Connecting Tech Pros Worldwide Forums | Help | Site Map

mysqldump problem

Newbie
 
Join Date: Jul 2007
Posts: 7
#1: Jul 10 '07
hai...i've a code that received file in .sql format.i want to modify the code so that once the file has been received,it will dump that file using mysql...does anyone know?

Moderator
 
Join Date: Mar 2007
Location: North Bend Washington USA
Posts: 5,375
#2: Jul 10 '07

re: mysqldump problem


This looks like a MySQL question. I am moving this thread to that forum.
sicarie's Avatar
Moderator
 
Join Date: Nov 2006
Location: USA
Posts: 3,929
#3: Jul 10 '07

re: mysqldump problem


What are you trying to modify? The sql script, or some other script? I don't believe you will be able to tell the sql script to unpackage itself, but you could write a script to do that. I think a bash/cron job might be easier than doing this in C, depending on what else is in place to move/receive the file, etc...
Newbie
 
Join Date: Jul 2007
Posts: 7
#4: Jul 11 '07

re: mysqldump problem


actually my friend will send the file in .sql format.The moment i received that file,the file is stored in /tmp.What i want to do is,by the moment i received the file,i want to dump it...
Reply


Similar MySQL Database bytes