1st compile
first insert and init db success