Separate DB host and port

As per changes between `mysqli_connect` and `mysql_connect`, the DB host and port are now separate arguments.