Added libraries for mysql. bam.lua modified to use mysql.h