Can you share the screenshot of the error message?
You may also turn on “Display php errors” and wordpress debug mode to see more detailed information.
There’re a lot of reasons that can cause a db not establishing.Maybe the db is corrupted,or the installation is corrupted.The following article might help: