removed some debugging details

This commit is contained in:
seek3r 2001-06-01 09:23:03 +00:00
parent faff24fd34
commit ae7a9c3af3
2 changed files with 2 additions and 6 deletions

View File

@ -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;

View File

@ -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;