I have the command "Stop Service" and "Start Service" in my setup.
"Stop Service" stops the MySQL Server before installing files and "Start Service" starts the MySQL Server again after installing files.
My question is that sometimes, but not all the time, I get the error that the "Start Service" failed. I am guessing that sometimes the setup program I created is running faster than it takes the MySQL Server to start, and not allowing the server to completely start before the "Finish" page runs.
Is this correct, and what can be done about it? Under the "Start Service" command there is nothing that tells it to wait to make sure that the sever has the time to start.
Or is there something else that is happening?
It is not that big of a deal, because if you re-run the setup again it usually works fine. But it sometimes may take a couple runs to get it to run correctly.
Just curious of what the problem could be and how to fix it.
Thanks!
"Stop Service" stops the MySQL Server before installing files and "Start Service" starts the MySQL Server again after installing files.
My question is that sometimes, but not all the time, I get the error that the "Start Service" failed. I am guessing that sometimes the setup program I created is running faster than it takes the MySQL Server to start, and not allowing the server to completely start before the "Finish" page runs.
Is this correct, and what can be done about it? Under the "Start Service" command there is nothing that tells it to wait to make sure that the sever has the time to start.
Or is there something else that is happening?
It is not that big of a deal, because if you re-run the setup again it usually works fine. But it sometimes may take a couple runs to get it to run correctly.
Just curious of what the problem could be and how to fix it.
Thanks!
Comment