When loading a configured snort (/etc/init.d/.snort start) mysql database returns: 'root'@'localhost' (using password: NO) No configuring I could load snort errorless. I followed the wiki http://www.gentoo-wiki.info/Snort. Tofix the problem I had to erase mysql: /etc/init.d/mysql stop rc-update del mysql emerge -C mysql rm -r /etc/mysql rm -r /var/lib/mysql rm -r /var/run/mysqld rm -r /var/log/mysql emerge mysql again Install Database: /usr/bin/mysql_install_db /etc/init.d/mysql start /usr/bin/mysqladmin -u root password 'password' Then I added user and database and restarted snort and didn't get the (using password: NO) error. Reproducible: Always
Gentoo isn't responsible for http://www.gentoo-wiki.info/
Agreed. I tried the "emerge --config =dev-db/mysql..." twice though and got this error. When I used the "/usr/bin/mysql_install_db" script I didn't have a problem. Am new to mysql, possible error on my part.