Manual:$wgCookiePrefix

Details
Set it to use a custom one. Setting to false sets the default of using the database name.