Translations:Manual:$wgSQLiteDataDir/9/en

This variable allows for storing the database outside the document root, because, in most cases, one does not want to give access to the database file through the web.