[Qt-interest] QProcess and mysqldump
Thiago Macieira
thiago at kde.org
Thu Nov 18 18:53:47 CET 2010
On Thursday, 18 de November de 2010 18:37:31 David Villalobos Cambronero
wrote:
> proc->waitForFinished(-1);
> // proc->start("mysqldump --user=root --password='david123'
> --host=localhost test");
> proc->start("mysqldump", arguments);
waitForFinished and start are in the wrong order above.
What was the exit code from mysqldump?
Also, are the single-quotes included in your password? If they are not, then
this line is also wrong:
arguments << " --password='david123'";
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101118/4b253731/attachment.bin
More information about the Qt-interest-old
mailing list