Add db connection

add maria db connection & its test