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

Recent comments
24 weeks 10 hours ago
24 weeks 4 days ago
24 weeks 4 days ago
24 weeks 6 days ago
25 weeks 4 days ago
27 weeks 5 days ago
30 weeks 5 days ago
33 weeks 4 days ago
34 weeks 2 days ago
35 weeks 23 hours ago