use pool to test the mysql error