Manual:$wgSQLiteDataDir

Details
To override default SQLite data directory.

By default it is "data" directory in the parent of the document root.