I am trying to install magento or prestashop and they are giving database connection error,I have configured it many times in other servers,pl check the server for this error.
What's the exact error? It's hard to know what the problem is without details.
Your issue may or may not be due to the recent problems Chopin seems to be having with MySQL. It's been intermittent, making the cause hard to diagnose. As a result, there's no way of knowing when it will be fixed. The admins are trying to determine what's going wrong, but it's going to take time.