Description:
mysqlserverclone makes a startup script with -w option. But it's use less format for windows like below.
# Startup command generated by mysqlserverclone.
['C:\\Program Files\\MySQL\\MySQL Server 5.6\\bin\\mysqld.exe', '--no-defaults', '--datadir=c:\\users\\meiji\\data2', '--tmpdir=c:\\users\\meiji\\data2', '--pid-file=c:\\users\\meiji\\data2\\clone.pid', '--port=3307', '--server-id=2', '--basedir=C:\\Program Files\\MySQL\\MySQL Server 5.6', '--socket=c:\\users\\meiji\\data2\\mysql.sock']
I think this format for python subprocess.
http://docs.python.org/2.7/library/subprocess.html#module-subprocess
But MySQL Utilities for windows provided as *.exe format, they don't need python environment, so it's useless for windows environment.
When a user specify startup.sh for -w option, mysqlcloneserver add 1st line for shell script. but it seems also useless because ['executerble', 'option1', ... ,'optionn'] format is not executed as normal shell script.
How to repeat:
mysqluc> mysqlserverclone --server=root:root@localhost:3306 --new-data=c:/users/
meiji/data2 --root-password=root -w c:/users/meiji/start.bat
# Cloning the MySQL server running on localhost.
# Creating new data directory...
# Configuring new instance...
# Locating mysql tools...
# Setting up empty database and mysql tables...
# Starting new instance of the server...
# Testing connection to new instance...
# Success!
# Setting the root password...
# Connection Information:
# -uroot -proot --port=3307
#...done.
Suggested fix:
The format of file should be transformed to nomal shell(POSIX), bat(Windows) format.