bugphpGroupWare - Bugs: bug #14143, Create (mysql) database during...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #14143: Create (mysql) database during setup - always fails

Submitter:  None
Submitted:  Tue 16 Aug 2005 01:05:08 PM UTC
   
 
Category:  API - Setup Item Group:  0.9.16.005
Severity:  3 - Normal Priority:  5 - Normal
Status:  Invalid Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  SVN Operating System:  None
Reproducibility:  Every Time Planned Release:  None
Fixed Release: 

Tue 16 Aug 2005 01:16:33 PM UTC, comment #1: 

No submitter email included, just closing, the person doesn't know what they are talking about
</discussion>

Dave Hall <skwashd>
Group administrator
Tue 16 Aug 2005 01:05:08 PM UTC, original submission:  

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

function create_database:

$this->disconnect();
$this->query("CREATE DATABASE $currentDatabase");
$this->query("grant all on $currentDatabase.* to $currentUser@localhost 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);


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-08-16 skwashd StatusNone Invalid
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code