checks for exisiting MySQL