SQLite Forum

Can I get the file name of a temporary on-disk database?
Login
> SQLite will happily open an empty file as if it were a database. There is no need to prefill it with valid content.

Ah okay, good to know. I thought I encountered this problem earlier today, where I tried passing it the file created by mkstemp, and it didn't work. If I'm able to reproduce that I'll follow up, but if not then this is the perfect solution. Thanks.