Blocking Stupid Shit

I have had my DB util from the blog get me locked out of my mysql servers several times now and it is due to some kind of scanners doing stupid shit. i went through the logs for the last 24 hours and have blocked roughly 2.5 million IP addresses from being able to see [ ]