commit add common and connectdb