Now checking MySQL port after every action.