Manual:$wgDBerrorLog

Details
File to log database errors to.