register and using otrher db

hello everyone,

can u help me, i would like to have register and login on external db that use by opensim syastm but i dont know how to setup that way'can u guy help by tell me how