|
|
|
|
Snort Forums Archive
Archive Home » Support » Cannot access BASE home page, problem connecting to DB
Please note that the categories listed below represent an archived version of our forums pages. To view the current version and be able to post and reply to threads, please register and login here to go to the full forums pages.
[ Notice: Full Version of This Topic ]
Cannot access BASE home page, problem connecting to DB
Posted by cleetus_vandamme on March 15, 2005 08:15:04
I am new to snort and linux and I have to set it up for a honeynet project I am doing in college.
For my installation I am using Fedora core 3, BASE, mySQL,Apache and snort 2.3.2.
However when I open access the BASE home page I get the following error
Error (p)connecting to DB : snort@localhost
Check the DB connection variables in base_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:Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
I have checked these variables and the corresponding variables in the snort.conf file. There is no problem there. Is it a problem with permissions for the user accessing the DB.Appreciate any input. |
|
Posted by chris on March 18, 2005 12:55:58
hi, I'm not sure about the Fedora version of mysql, but in the Win32 version, you have to set the dbase user password with the OLD_Password variable, to be able to connect to the mysql database...
perhaps that might be something to check...
i.e
set password for 'BASEuser'@'mysqlhost' = OLD_PASSWORD('BASEUserpass') |
|
|
|
|
|