Discussion in 'Installation/Configuration' started by Paradigit, May 2, 2008.

  1. Paradigit

    Paradigit New Member

  2. Paradigit

    Paradigit New Member

    i made some progress

    i used
    now i am in the interface.

    Still a problem:
    Access denied for user 'snort'@'localhost' (using password: YES) in /usr/share/php/adodb/drivers/ on line 365
    is what i get

    Any suggestions?
  3. falko

    falko Super Moderator ISPConfig Developer

    Please set the correct database login credentials in /usr/share/php/adodb/drivers/
  4. Paradigit

    Paradigit New Member

    thanks for the quick reply.
    what i did is:

    sudo gedit
    now gedit opens, and i scrolled to line 365.

    what i see is:

    // returns true or false
    function _connect($argHostname, $argUsername, $argPassword, $argDatabasename)
    if (!empty($this->port)) $argHostname .= ":".$this->port;

    if (ADODB_PHPVER >= 0x4300)
    $this->_connectionID = mysql_connect($argHostname,$argUsername,$argPassword,
    else if (ADODB_PHPVER >= 0x4200)
    $this->_connectionID = mysql_connect($argHostname,$argUsername,$argPassword,
    $this->_connectionID = mysql_connect($argHostname,$argUsername,$argPassword);

    if ($this->_connectionID === false) return false;
    if ($argDatabasename) return $this->SelectDB($argDatabasename);
    return true;

    what do i have to change?
  5. falko

    falko Super Moderator ISPConfig Developer

    Did you put the right MySQL details into /etc/snort/snort.conf?
  6. Paradigit

    Paradigit New Member

    that was the solution. I have changed snort_password from the real password to the words

    Now i can login

Share This Page