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

Submitted by:  None
Submitted on:  Tue 16 Aug 2005 01:05:08 PM UTC  
 
Item Group: 0.9.16.005Category: API - Setup
Severity: 3 - NormalPriority: 5 - Normal
Status: InvalidPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: SVNOperating System: None
Reproducibility: Every TimePlanned 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>
Project 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

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 16 Aug 2005 01:16:33 PM UTCskwashdStatusNone=>Invalid
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1