Manual:$wgDBtestuser

Details
Database username that has permission to create and drop the test databases only.