add connect database test program by Leo