mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-03 11:59:16 +01:00
removed some debugging details
This commit is contained in:
parent
faff24fd34
commit
ae7a9c3af3
@ -73,8 +73,6 @@ class db {
|
|||||||
if ("" == $Password)
|
if ("" == $Password)
|
||||||
$Password = $this->Password;
|
$Password = $this->Password;
|
||||||
|
|
||||||
echo "user: $User using: $Password on db: $Database<br>";
|
|
||||||
|
|
||||||
/* establish connection, select database */
|
/* establish connection, select database */
|
||||||
if ( 0 == $this->Link_ID ) {
|
if ( 0 == $this->Link_ID ) {
|
||||||
$this->Link_ID=mysql_pconnect($Host, $User, $Password);
|
$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->query("grant all on $currentDatabase.* to $currentUser@localhost identified by '$currentPassword'");
|
||||||
$this->disconnect();
|
$this->disconnect();
|
||||||
|
|
||||||
echo "grant command: grant all on $currentDatabase.* to $currentUser@localhost identified by '$currentPassword'<br>";
|
|
||||||
|
|
||||||
$this->User = $currentUser;
|
$this->User = $currentUser;
|
||||||
$this->Password = $currentPassword;
|
$this->Password = $currentPassword;
|
||||||
$this->Database = $currentDatabase;
|
$this->Database = $currentDatabase;
|
||||||
|
@ -334,8 +334,8 @@ class db {
|
|||||||
$this->Database = "mysql";
|
$this->Database = "mysql";
|
||||||
}
|
}
|
||||||
$this->disconnect();
|
$this->disconnect();
|
||||||
$this->query("CREATE DATABASE $currentDatabase");
|
$this->query("CREATE DATABASE $currentDatabase");
|
||||||
$this->query("grant all on $currentDatabase.* to $currentUser@localhost identified by '$currentPassword'");
|
$this->query("grant all on $currentDatabase.* to $currentUser@localhost identified by '$currentPassword'");
|
||||||
$this->disconnect();
|
$this->disconnect();
|
||||||
|
|
||||||
$this->User = $currentUser;
|
$this->User = $currentUser;
|
||||||
|
Loading…
Reference in New Issue
Block a user