The database connection information appears incorrect. Your best option is to open the file:
/admin_gallery/Connections/powergallery.php
Look at the connection information in that file and try to find what is wrong. It could be the database server, username, or password.