Manual:$wgDBerrorLog

Details
File to log MySQL errors to.