The answer you entered to the math problem is incorrect.

MySQL Server 5.0 Silent Install w/ Root Password (no replies)

Hi all,

I am attempting to create an installer that can (1) recognize whether or not MySQL Server 5.0 is installed, (2) determine if there is a MySQL instance configured with my desired root password, and (3) setup an instance with my desired root password if necessary. For the first task, I check the version register key to ensure that it equals '5.0.27'. I am not sure how to complete my second task, and am open to suggestions. For the third task, I attempt a silent install via the command line parameter "/qn", but then need to make sure an instance is created with my desired root password. I understand how to add my own "my.ini" file and use it during installation via the command line "mysqld-nt.exe --install --defaults-file=...my.ini", but I am not sure how to ensure the instance is set up with my desired root password. Can I do this by adding the ini key password=abc under [Client] in the ini file, or do I need to set the root password some other way? Again, I do not want to have to use the instance creation wizard to set the instance up. Please advise.

Thanks in advance,

Steven

Reply

Please solve the math problem above and type in the result. e.g. for 1+1, type 2.