[Tutor] Fw: query regarding mysql database backup?? please Help

deepak.gupta deepak.gupta at hsbsoft.com
Wed Jan 4 13:00:25 CET 2006


----- Original Message ----- 
From: deepak.gupta 
To: tutor at python.org 
Sent: Wednesday, January 04, 2006 5:27 PM
Subject: query regarding mysql database backup?? please Help 


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/2adbf9cf/attachment.html 


More information about the Tutor mailing list