phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [bug #14143] Create (mysql) database during setup


From: anonymous
Subject: [Phpgroupware-tracker] [bug #14143] Create (mysql) database during setup - always fails
Date: Tue, 16 Aug 2005 13:05:09 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14143>

                 Summary: Create (mysql) database during setup - always fails
                 Project: phpGroupWare
            Submitted by: None
            Submitted on: Di 16.08.2005 um 13:05
              Item Group: 0.9.16.005
                Category: API - Setup
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
       Component Version: CVS
        Platform Version: None
         Reproducibility: Every Time
         Planned Release: None
           Fixed Release: 

    _______________________________________________________

Details:

phpgwapi/inc/class.db_mysql.inc.php:

function create_database:

$this->disconnect();
$this->query("CREATE DATABASE $currentDatabase");
$this->query("grant all on $currentDatabase.* to address@hidden
identified by '$currentPassword'");
$this->disconnect();


Seems that this wrong code is in since 0.9.12 - I guess the first disconnect
should be a:

$this->connect($this->Database,$this->Host,$this->User,$this->Password);








    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14143>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]