Zohaib, please, specify did you delete the duplicate username ?
There can be a lot of reasons why this happens:
http://www.oxwall.org/...%20has%20gone%20away
So the reason that your mysql server is being down may be that you're using wrong access details for the database, please check ow_includes/config.php file.
Or you may have, for example, a low memory limit on your server so please contact your hosting provider about that issue.