To install mysql server , you can use the following commandline: mysqld.exe" --install "ServiceName" --defaults-file="path\my.ini" in this case ,mysql is a service and it will be started automatically.
To create database and add some data to the mysql, you can use the following commandline ...