forked from extern/egroupware
added some debugging details
This commit is contained in:
parent
dbfe053e66
commit
faff24fd34
@ -73,6 +73,8 @@ 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);
|
||||
@ -459,6 +461,8 @@ class db {
|
||||
$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;
|
||||
|
Loading…
Reference in New Issue
Block a user