#!/bin/bash

if [ -z "$5" ]; then
	mysql -u$1 -p$2 $3 < "$4"
else
	mysql -h$5 -u$1 -p$2 $3 < "$4"
fi
