YaBB comes to mind, but there are a lot of less extensive ones out there; all you have to do is search. I'm not sure if Phorum must have SQL either. The Woburn Robotics Forums are hand-coded for an example of a simple Perl one, so you could explore that idea if you have the means.