[Tutor] query regarding mysql database backup?? please Help
deepak.gupta
deepak.gupta at hsbsoft.com
Wed Jan 4 12:57:52 CET 2006
Hi,
I did my script like this for backing my max_everest_2006 mysql database
>>import os
> > target_dir = "./backup"
> > os.system("mysqldump --add-drop-table -c -u root -pmysql max_everest_2006 > "+target_dir+"/table.bak.sql")
root is my user name,mysql is my password,max_everest_2006 is my database name. reply me as soon as possible
but it tolds me that does not recognise mysqldump as an internal or external command
Please help
Thanks
deepak gupta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060104/9edf6544/attachment.htm
More information about the Tutor
mailing list