private static void checkPool() throws DaoConnectException {
        if (pool == null) {
            LOCK.lock();
            try {
                if (pool == null) {
                    pool = new MysqlConnectionPool();
                }
            } finally {
                LOCK.unlock();
            }
        }
    }