Can you connect to the mysql server and use the snort database w/ the snort db username/passwd defined in your snort config file? Are permissions set appropriately? (if they are, you should be able to ...
Description: MySQL 5.0.18 and earlier allows local users to bypass logging mechanisms via SQL queries that contain the NULL character, which are not properly handled by the mysql_real_query function.