function Connect()
	{
		$this->handler->Log(DBH_LOG_INFO, "Opening Connection...");
		if ($this->dbopen)
		{
			$this->handler->Log(DBH_LOG_WARNING, "Connection Already Open");
		}
		else
		{
			$this->adapter = new DataAdapter($this->csetting);
			
			try {
				$this->adapter->Open();
			}
			catch (Exception $ex) {
				$this->handler->Crash(DatabaseException::$CONNECTION_ERROR,$ex->getMessage());
			}

			$this->handler->Log(DBH_LOG_INFO, "Connection Open");
			$this->dbopen = true;
		}
	}
function Connect()
	{
		$this->handler->Log(DBH_LOG_INFO, "Opening Connection...");
		if ($this->dbopen)
		{
			$this->handler->Log(DBH_LOG_WARNING, "Connection Already Open");
		}
		else
		{
			$this->adapter = new DataAdapter($this->csetting);
			
			try {
				$this->adapter->Open();
			}
			catch (Exception $ex) {
				$this->handler->Crash(DatabaseException::$CONNECTION_ERROR,$ex->getMessage());
			}

			$this->handler->Log(DBH_LOG_INFO, "Connection Open");
			$this->dbopen = true;
		}
	}
function Connect ( ) { $ this -> handler -> Log ( DBH_LOG_INFO , "Opening Connection..." ) ; if ( $ this -> dbopen ) { $ this -> handler -> Log ( DBH_LOG_WARNING , "Connection Already Open" ) ; } else { $ this -> adapter = new DataAdapter ( $ this -> csetting ) ; try { $ this -> adapter -> Open ( ) ; } catch ( Exception $ ex ) { $ this -> handler -> Crash ( DatabaseException :: $ CONNECTION_ERROR , $ ex -> getMessage ( ) ) ; } $ this -> handler -> Log ( DBH_LOG_INFO , "Connection Open" ) ; $ this -> dbopen = true ; } }
Opens a connection to the MySQL Server and selects the specified database

@access public
@param string $dbname
Opens a connection to the MySQL Server and selects the specified database