Manual:$wgSharedUploadDBprefix

Details
DB prefix for shared image uploads - only relevant if using shared uploads.

See   for more information.