do not mkdir for database when using :memory: