I've recently made some work to add MySQL support to bandwidthd. Results can be found on:
It is rather experimental and needs testing so any feedback is welcome.
I just tried to apply the patch against the current CVS and it's giving error messages. Has anyone built a MySQL version recently?