Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1 Problem connecting to database

BASE
closed
Kevin Johnson
5
2005-03-17
2005-03-15
Anonymous
No

Recieved the following error when attempting to login:
Checking for DB abstraction lib
in '/var/www/html/adodb/adodb.inc.php'

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)

Discussion

  • Logged In: NO

    My email is joe.barty@ae.ge.com

     
  • Kevin Johnson
    Kevin Johnson
    2005-03-17

    Logged In: YES
    user_id=836228

    Hi-

    From the error message stating that you could not connect to
    MySQL via the socket file, I have to assume that either
    MySQL is not running on your server or that it is storing
    the sock file in a different location.

    Kevin

     
  • Kevin Johnson
    Kevin Johnson
    2005-03-17

    • status: open --> closed
     
  • Kevin Johnson
    Kevin Johnson
    2005-03-17

    • assigned_to: nobody --> secureideas