Sign in to follow this  
Followers 0
cabsme

Database ERROR:Database connection failed

5 posts in this topic

hey,

 thanks for the guide.

i closely completed my installation,except the last step:

Starting the Windows Intrusion Detection Systems (WinIDS) Security Console

when i  opened a web-browser and type 'http://winids' ", it shows DATABASE ERROR as bellow:

Error (p)connecting to DB : snort@winids

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:Database connection failed
 

 

May somebody pls kindly give some support? thank u!

 

 

Share this post


Link to post
Share on other sites

BTW, i had been changed as follow under the guide:

$alert_dbname   = 'snort';
$alert_host     = 'winids';
$alert_port     = '';
$alert_user     = 'base';
$alert_password = 'an@l1st';

Share this post


Link to post
Share on other sites

I had encounted  none of error during the whole installation ,except  FIVE WARNING in the step on " Creating the Windows Intrusion Detection System Database Tables  " ,after i typed the command:  \i d:/temp/snort_user.sql; "

  was that the ROOT REASON?  If so, how to solve? it not,how can i do?

 sorry for the CHINESE charactor, i had tried my best to translated......: SHY :

    you can receive my best wishes from CHINA! 

error2.png

Share this post


Link to post
Share on other sites
On ‎3‎/‎25‎/‎2016 at 6:20 AM, cabsme said:

error2.png

The above is normal. If you are getting a connection error than it's most likely related to user authentication, or possibly the database is not running?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0