I am working on java desktop application in which i use MYSQL database, but i have a problem , i want to embed MYSQL database, for this i want a script to install the MYSQL, i need Help to install MYSQL from batch file (windows).
i am using this script
@echo off
echo Installing MySQL Server. Please wait...
msiexec /i "mysql-installer-community-5.6.14.0.msi" /qn
echo Configurating MySQL Server...
"%ProgramFiles%\MySQL\MySQL Server 5.6\bin\mysqlinstanceconfig.exe"
-i -q ServiceName=MySQL RootPassword=mysql ServerType=DEVELOPER
DatabaseType=MYISAM Port=3306 Charset=utf8
echo Installation was successfully
i get the error,"The system cannot find the path specified".
Any help will be appreciated.