MySQL Forums
Forum List  »  Install & Repo

Unable to set data directory
Posted by: Abu Thahir
Date: March 10, 2011 11:30PM

Hi,

I try with below script, but after installation data directory it seems default folder (C:\Documents and Settings\All Users\Application Data)

set mysql_msi="mysql-essential-5.1.48-win32.msi"
set mysql_svname=MySQL
set mysql_datadir="C:\MyFolder"
set mysql_data2="C:\MyFolder"
set mysql_cmd="GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'abcd' WITH GRANT OPTION;"

msiexec /i %mysql_msi% /qn INSTALLDIR="C:\MySQL" /L* "C:\MSI-MySQL-Log.txt"

Please advice
Thanks in advance

Options: ReplyQuote


Subject
Written By
Posted
Unable to set data directory
March 10, 2011 11:30PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.