Get the right db prefix