I am making a batch file to automate mysql installation silently. When I type the following line in the command prompt everything works fine.
"C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqlinstanceconfig.exe" -i -q ServiceName="mydb" RootPassword="pos" ServerType=DEVELOPMENT DatabaseType=INNODB Port=3306
My question is: can I somehow add this to a batch file so it will run it as if I entered it in the command line?
Thanks, Matt