MySQL errors handled.