Support setting max number of mysql connections allowed

Yes, 0 is unlimited. Good point - I'll make it 5, which is what we plan on running it as