MySQL5.5 instance configuration
Posted by: Shirish Revankar
Date: July 02, 2012 03:48AM

I am trying to build a installer to Install MySQL for my application. Later create a server instance for it using MySQLInstanceConfig running it in a batch file.

mysqlinstanceconfig.exe -i -q ServiceName=MySQL55 RootPassword=root
ServerType=DEVELOPMENT ConnectionUsage=DSS DatabaseType=MYISAM Port=3307
SkipNetworking=no RootPassword=root
set mysql_cmd="GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;"
mysql.exe -uroot -proot -e %mysql_cmd%

or

MySQLInstanceConfig.exe -i -q "-lE:\UEM\mysql_install_log.txt" »
"-nMySQL Server 5.5" "-pC:\Program Files\MySQL\MySQL Server 5.5" -v5.5.11 »
"-tmy-template.ini" "-cC:\mytest.ini" ServerType=DEVELOPMENT DatabaseType=MIXED »
ConnectionUsage=DSS Port=3307 ServiceName=MySQL55 RootPassword=root

The following script does work with MySQL 5.0 but not with 5.5. MySQLInstanceConfig does not show created instance. But displays an error dialog saying "'MySQL' service entry refers to a non-existance Binary". And then making changes to created instance makes it to work.

Options: ReplyQuote


Subject
Views
Written By
Posted
MySQL5.5 instance configuration
3100
July 02, 2012 03:48AM


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.