Problem w/ mysqldump

Victor Subervi victorsubervi at gmail.com
Fri Sep 4 16:56:29 EDT 2009


I got essentially the same printout. There were the following, among many
others:
mysqldump.exe
mysqldump.pdb
What's a *.pdb file? Don't know it matters. If there were just some darn way
to know where that daggone database is, I could copy it and move it to
another machine.
TIA,
V

On Thu, Sep 3, 2009 at 1:42 PM, Dennis Lee Bieber <wlfraed at ix.netcom.com>wrote:

> On Wed, 2 Sep 2009 16:45:02 -0400, Victor Subervi
> <victorsubervi at gmail.com> declaimed the following in
> gmane.comp.python.general:
>
> > I tried running it like you said, got this error:
> > 'mysqldump' is not a recognized internal or external command.
> > If I could just figure out in what file the data were stored, I could
> copy
> > it and try it in another computer. Any ideas?
>
>        That tells me that the MySQL binaries are either not installed on
> the computer, or are not in the Windows (not Python) search path. (note:
> I've line split at each ; so it can be read)
>
> C:\Documents and Settings\Dennis Lee Bieber>echo %PATH%
> e:\Python25\;
> E:\GNAT\2008\bin;
> C:\WINDOWS\system32;
> C:\WINDOWS;
> C:\WINDOWS\System32\Wbem;
> C:\Program Files\SciTE;
> C:\Program Files\Java\jre1.6.0_03\bin;
> C:\Program Files\Java\jdk1.6.0_03\bin;
> C:\Program Files\Common Files\Adobe\AGL;
> C:\Tcl\bin;
> C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;
> C:\Program Files\Common Files\Roxio Shared\DLLShared\;
> c:\Regina;
> C:\Program Files\TortoiseSVN\bin;
>
> C:\PROGRA~1\MySQL\MySQL Server 5.0\bin;
>
> E:\GNAT\GtkAda\bin;
> C:\MSSQL7\BINN;
> c:\PROGRA~1\sdb\programs\bin;
> c:\PROGRA~1\sdb\programs\pgm;
> e:\python25\scripts;
> C:\WINDOWS\system32\WindowsPowerShell\v1.0;
> C:\Program Files\Common Files\Roxio Shared\DLLShared\;
> C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;
> c:\bin
>
>        Note the isolated line in the middle above? That's how the OS finds
> all the MySQL command line tools.
>
> C:\Documents and Settings\Dennis Lee Bieber>dir "C:\PROGRA~1\MySQL\MySQL
> Server 5.0\bin"
>  Volume in drive C is System
>  Volume Serial Number is 0487-A514
>
>  Directory of C:\PROGRA~1\MySQL\MySQL Server 5.0\bin
>
> 09/16/2006  11:04 AM    <DIR>          .
> 09/16/2006  11:04 AM    <DIR>          ..
> 08/26/2006  01:14 AM         1,196,032 comp-err.exe
> 08/26/2006  01:14 AM         1,519,616 libmySQL.dll
> 08/26/2006  01:14 AM         1,433,600 myisamchk.exe
> 08/26/2006  01:14 AM         1,339,392 myisamlog.exe
> 08/26/2006  01:14 AM         1,351,680 myisampack.exe
> 08/26/2006  01:14 AM         1,314,816 myisam_ftdump.exe
> 08/26/2006  01:14 AM         1,622,016 mysql.exe
> 08/26/2006  01:14 AM         1,482,752 mysqladmin.exe
> 08/26/2006  01:14 AM         1,499,136 mysqlbinlog.exe
> 08/26/2006  01:14 AM         1,470,464 mysqlcheck.exe
> 08/26/2006  01:14 AM         6,721,536 mysqld-debug.exe
> 08/26/2006  01:14 AM         4,964,352 mysqld-max-nt.exe
> 08/26/2006  01:14 AM         4,960,256 mysqld-max.exe
> 08/26/2006  01:14 AM         4,435,968 mysqld-nt.exe
> 08/26/2006  01:14 AM         4,435,968 mysqld.exe
> 08/26/2006  01:14 AM         1,511,424 mysqldump.exe
> 08/26/2006  01:14 AM         1,470,464 mysqlimport.exe
> 04/19/2006  04:41 AM         1,561,600 MySQLInstanceConfig.exe
> 08/26/2006  01:14 AM         1,519,616 mysqlmanager.exe
> 08/26/2006  01:14 AM         1,474,560 mysqlshow.exe
> 08/26/2006  01:14 AM         1,576,960 mysqltest.exe
> 08/26/2006  01:14 AM         1,814,528 mysql_client_test.exe
> 08/26/2006  01:14 AM         1,200,128 mysql_upgrade.exe
> 08/26/2006  01:14 AM         1,191,936 my_print_defaults.exe
> 08/26/2006  01:14 AM         1,171,456 perror.exe
> 08/26/2006  01:14 AM         1,187,840 replace.exe
>              26 File(s)     55,428,096 bytes
>               2 Dir(s)  11,701,739,520 bytes free
>
>        MySQLdb is just a db-api interface to a running server. But
> mysqldump is not a MySQLdb command -- it's a MySQL commandline utility.
> Anything being invoked via os.system(), or a popen() variant, is
> external to Python, and depends upon the OS to execute.
>
>
>
>
>
>
> --
>        Wulfraed         Dennis Lee Bieber               KD6MOG
>        wlfraed at ix.netcom.com   HTTP://wlfraed.home.netcom.com/<http://wlfraed.home.netcom.com/>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090904/23114398/attachment.html>


More information about the Python-list mailing list