I've been trying to download Snort w/a mysql database on my Ubuntu 11.10 server,
but keep running into issues. (I'm a relatively new Linux user, btw...)
This server previously had Snort w/mysql on it, but I wanted to update it.
However, the upgrades weren't working so I deleted everything that had to do with snort or mysql.
Since then I have done:
$ apt-get install snort
$ apt-get install snort-mysql
$ apt-get install snort-rules-default
$ apt-get install mysql-server
$ apt-get install mysql-client-core-5.1 mysql-cluster-client-5.1
when I try to run $ mysql - I get:
Error 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld.sock' (2)
Here's what I've tried and the resulting messages:
$ /etc/init.d/mysqld start
-bash: /etc/init.d/mysqld: No such file or directory
$ service mysqld start
mysqld: unrecognized service
any suggestions?