forked from extern/egroupware
removed some debugging details
This commit is contained in:
parent
faff24fd34
commit
ae7a9c3af3
@ -73,8 +73,6 @@ class db {
|
||||
if ("" == $Password)
|
||||
$Password = $this->Password;
|
||||
|
||||
echo "user: $User using: $Password on db: $Database<br>";
|
||||
|
||||
/* establish connection, select database */
|
||||
if ( 0 == $this->Link_ID ) {
|
||||
$this->Link_ID=mysql_pconnect($Host, $User, $Password);
|
||||
@ -461,8 +459,6 @@ echo "user: $User using: $Password on db: $Database<br>";
|
||||
$this->query("grant all on $currentDatabase.* to $currentUser@localhost identified by '$currentPassword'");
|
||||
$this->disconnect();
|
||||
|
||||
echo "grant command: grant all on $currentDatabase.* to $currentUser@localhost identified by '$currentPassword'<br>";
|
||||
|
||||
$this->User = $currentUser;
|
||||
$this->Password = $currentPassword;
|
||||
$this->Database = $currentDatabase;
|
||||
|
@ -334,8 +334,8 @@ class db {
|
||||
$this->Database = "mysql";
|
||||
}
|
||||
$this->disconnect();
|
||||
$this->query("CREATE DATABASE $currentDatabase");
|
||||
$this->query("grant all on $currentDatabase.* to $currentUser@localhost identified by '$currentPassword'");
|
||||
$this->query("CREATE DATABASE $currentDatabase");
|
||||
$this->query("grant all on $currentDatabase.* to $currentUser@localhost identified by '$currentPassword'");
|
||||
$this->disconnect();
|
||||
|
||||
$this->User = $currentUser;
|
||||
|
Loading…
Reference in New Issue
Block a user