Manual:$wgDBerrorLog/en

Details
File to log database errors to.