How to fix issue in Joomla / Jomres "could not connect" or "could not connect port"?
Edit file in path /jomres/libraries/jomres/classes/jomres_database.class.php:102 line (after else) and replace with this (keep in mind that host and port variables must be separated
$this->link = mysqli_connect(get_showtime('host'), get_showtime('user'), get_showtime('password'), null, get_showtime('port')) or die('Could not connect. Port '.get_showtime('port'));
Done