snort入侵检测系统做到最后一步,救急
我做snort入侵检测系统做到最后一步,需要配置acid,配置如下,
$alert_dbname = "snort";
$alert_host = "localhost";
$alert_port = "";
$alert_user = "snort";
$alert_password = "123456";
但是连接DB即http://localhost/acid/acid_main.php时出错,不管怎么改都是这样,还请高手指点一下
Warning: mysql_pconnect(): Access denied for user: 'snort@localhost' (Using password: YES) in C:Appservphpadodbdriversadodb-mysql.inc.php on line 356
Error (p)connecting to DB : snort@localhost
Check the DB connection variables in acid_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:Access denied for user: 'snort@localhost' (Using password: YES)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
确定数据库的名为“snort”????还有的是mysql有没开起来?
还有建议用base吧,acid已经很多年没更新了。如果系统为基于windows的,如下连接可以帮到你
http://www.winids.com/
引用来自“红薯”的帖子
$alert_user = "snort";
你的配置文件里的用户名是 snort ,而数据库里的确是 SnortUser ,这当然无法连接数据库了。
$alert_user = "snort";
你的配置文件里的用户名是 snort ,而数据库里的确是 SnortUser ,这当然无法连接数据库了。
引用来自“红薯”的帖子
GRANT ALL PRIVILEGES ON *.* TO 'snort'@'localhost'
IDENTIFIED BY '123456' WITH GRANT OPTION;
你看看哪里没加
GRANT ALL PRIVILEGES ON *.* TO 'snort'@'localhost'
IDENTIFIED BY '123456' WITH GRANT OPTION;
引用来自“红薯”的帖子
这个问题是 MySQL 的授权问题了,需要建一个 snort 的数据库用户呗
这个问题是 MySQL 的授权问题了,需要建一个 snort 的数据库用户呗