finish chechSalary's database link