Database are correct. hhhmmmm
Could you check config file of snort(/etc/snort/snort.conf) at line +-457 you should have something like
output database: log, mysql, user=root password=blablablablablablabla dbname=snort_log host=localhost
If you don't have that, try
/sbin/e-smith/expand-template /etc/snort/snort.conf
After your config file should be OK
Regards.