Use the right database