Database connector