Error (p)connecting to DB : snort@localhost

Check the DB connection variables in base_conf.php

               = $alert_dbname   : MySQL database name where the alerts are stored 
               = $alert_host     : host where the database is stored
               = $alert_port     : port where the database is stored
               = $alert_user     : username into the database
               = $alert_password : password for the username
              

Database ERROR:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)