- MySQL Duvidas Basicas
+ Responder ao Tópico
-
MySQL Duvidas Basicas
Eu estou tentando fazer rodar um esquema de monitoramento com Snort mysql e apache
Mais estou encontrando dificuldade em configurar o mysql. Apos eu seguir a configuraçao que eu encontre em alguns DOC aparece a seguiote mensagen
Warning: mysql_pconnect(): Access denied for user: 'root@localhost' (Using password: YES) in /usr/lib/adodb/drivers/adodb-mysql.inc.php on line 335
Error (p)connecting to DB : snort_log@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: 'root@localhost' (Using password: YES)
Obs: A mensagen acima aparece no meu mozilla quando eu digito http://ip-do-serv/acid/index.html
Eu adicionei as seguintes conf
# /usr/bin/mysql_install_db
# service mysql start
# mysql -u root -p
mysql> create database snort;
mysql> grant insert,select,update on snort.* to snort@localhost \
identified by 'senha123';
mysql> grant insert,select,delete,update,create on snort.* to \
acid@localhost identified by
-> 'acid_senha';
mysql> quit
Entrei no /usr/share/doc/snort-[versão];
# mysql -u root -p snort < create_mysql
# bzcat snortdb-extra.bz2 | mysql -u root -p snort
Se alguem puder de ajudar a resolver este problema :toim: Eu nao conheco nada de SQL e me aventurei neste progeto