Set database string in a less elegant way since the pretty one didn't work