Make sure to initialize db connection
for debug or release mode