using localhost as database credential