MySQL Forums
Forum List  »  Install & Repo

Re: silent install
Posted by: dig
Date: August 31, 2005 07:24AM

Sure, this is how I did it.


I used Wise Installation to install my stuff then copy the files in order to install MySQL. I copied mysql.msi, sql files and my.ini. My.ini will have the information to set the MySQL parameters like port, installation path, service name and etc. Use Wise Installation or something that will update the ini file for server path if you are not using the default path. This steps is for installing on the local machine.

To install MySQL in silent mode use “mysql.msi /passive” and I set the Wise Installation to wait for this is finish installing.

Now you will need to install the service and start it.
Execute mysqld.exe --install MySQL41 --defaults-file="C:\Program Files\MySQL\MySQL Server 4.1\my.ini".
Wise Installation has a start service command so I used that to start it.


Now you can run your sql statements to build the tables and add users things like that.
I used batch files to execute the sql statements.

Batch file called go.bat has these lines

cd c:\program files\mysql\mysql server 4.1\bin
mysql.exe -P 15027 < user.sql
mysql.exe -P 15027 < nkwdata.sql

This should help you get started. If you have any question then please ask away.

Dig

Options: ReplyQuote


Subject
Written By
Posted
dig
May 18, 2005 07:15AM
May 19, 2005 12:18AM
July 21, 2005 05:31AM
dig
July 21, 2005 05:34AM
August 31, 2005 05:32AM
April 22, 2008 04:36AM
Re: silent install
dig
August 31, 2005 07:24AM
August 31, 2005 08:53AM
April 22, 2006 07:42AM
July 28, 2006 02:06AM
July 21, 2008 01:29AM


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.