support non-localhost database :( whoops