At 08:21 AM 3/3/2010, you wrote:
Try putting your arguments as an array of strings and passing it in that way.

I tried this, check a couple of databases that had overhead listed and they were still there.

<cfset a = arrayNew(1)>
<cfset a[1] = "--all-databases">
<cfset a[2] = "--auto-repair">
<cfset a[3] = "-u, --user=root">
<cfset a[4] = "-p, --password=*****">

<cfexecute name="C:\x\xampp\mysql\bin\mysqlcheck.exe" arguments="#a#" outputfile="C:\myfiles\jetty-openbd\webapps\openbd\mysqlcheck.txt" />

To be sure I then did this

<cfset a = arrayNew(1)>
<cfset a[1] = "-?, --help">

The help file was printed to the mysqlcheck.txt file.

Thanks,
Tom Thomas

--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
mailing list - http://groups.google.com/group/openbd?hl=en
 
!! save a network - please trim replies before posting !!

Reply via email to