我做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:\Appserv\php\adodb\drivers\adodb-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 usernameDatabase ERROR:Access denied for user: 'snort@localhost' (Using password: YES)
这个问题是 MySQL 的授权问题了,需要建一个 snort 的数据库用户呗######
这个问题是 MySQL 的授权问题了,需要建一个 snort 的数据库用户呗
我建了数据库snort 里边权限也好的啊 你有空嘛 加我QQ好吗######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;
看看哪里没加
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。