the Connections/powergallery.php file gets created during the install, you will need to download it from the server.
Then add the following code at line 1:
<?php
if (function_exists('mysql_set_charset') === false) {
function mysql_set_charset($charset, $link_identifier = null)
{
if ($link_identifier == null) {
return mysql_query('SET NAMES "'.$charset.'"');
} else {
return mysql_query('SET NAMES "'.$charset.'"', $link_identifier);
}
}
}
?>