Setting up database taking unexpectedly long time

Today I was trying to install wordpress on fresh server, and I observed after Setting up database further process comes to halt for few minutes. Earlier, I have deployed wordpress on several server, but this is something new for me. Is there anything wrong with server?

Edit:
I tried again on new server, this time it got stuck after Setting up database

Use ee stack restart. This will help you in this kind of errors.