Index: /temp/trunk/html/install/index.php
===================================================================
--- /temp/trunk/html/install/index.php	(revision 6262)
+++ /temp/trunk/html/install/index.php	(revision 6266)
@@ -83,8 +83,4 @@
 	$arrRet =  $objDBParam->getHashArray();
 	$dsn = $arrRet['db_type']."://".$arrRet['db_user'].":".$arrRet['db_password']."@".$arrRet['db_server'].":".$arrRet['db_port']."/".$arrRet['db_name'];
-	
-	global $objDbConn;
-	unset($objDbConn);
-	
 	/*
 		¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×Åù¤ÇÄÉ²Ã¥Æ¡¼¥Ö¥ë¤¬È¯À¸¤·¤¿ºÝ¤Ïµ­ºÜ¤¹¤ë
Index: /temp/trunk/data/class/SC_DbConn.php
===================================================================
--- /temp/trunk/data/class/SC_DbConn.php	(revision 6262)
+++ /temp/trunk/data/class/SC_DbConn.php	(revision 6266)
@@ -22,11 +22,11 @@
 	
 	// ¥³¥ó¥¹¥È¥é¥¯¥¿
-	function SC_DbConn($dsn = "", $err_disp = true){
+	function SC_DbConn($dsn = "", $err_disp = true, $new = false){
 		global $objDbConn;
 		
 		// Debug¥â¡¼¥É»ØÄê
 		$options['debug'] = PEAR_DB_DEBUG;
-		// ´û¤ËÀÜÂ³¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤ÏÀÜÂ³¤·¤Ê¤¤
-		if(!isset($objDbConn->connection)) {
+		// ´û¤ËÀÜÂ³¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤ÈºÆÀÜÂ³¤Ê¤·¤Î¾ì¹ç¤ÏÀÜÂ³¤·¤Ê¤¤
+		if(!isset($objDbConn->connection) && !$new) {
 			if($dsn != "") {
 				$objDbConn = DB::connect($dsn, $options);
Index: /temp/trunk/data/class/SC_Query.php
===================================================================
--- /temp/trunk/data/class/SC_Query.php	(revision 6217)
+++ /temp/trunk/data/class/SC_Query.php	(revision 6266)
@@ -12,6 +12,10 @@
 	
 	// ¥³¥ó¥¹¥È¥é¥¯¥¿
-	function SC_Query($dsn = "", $err_disp = true) {
-		$this->conn = new SC_DBconn($dsn, $err_disp);
+	/*
+		$err_disp:¥¨¥é¡¼É½¼¨¤ò¹Ô¤¦¤«
+		$new¡§ºÆÀÜÂ³¤ò¹Ô¤¦¤«
+	 */
+	function SC_Query($dsn = "", $err_disp = true, $new = false) {
+		$this->conn = new SC_DBconn($dsn, $err_disp, $new);
 		$this->where = "";
 		return $this->conn;
Index: /temp/trunk/data/lib/slib.php
===================================================================
--- /temp/trunk/data/lib/slib.php	(revision 6265)
+++ /temp/trunk/data/lib/slib.php	(revision 6266)
@@ -26,5 +26,5 @@
 	list($db_type) = split(":", $dsn);
 	if($db_type == 'mysql') {
-		$arrRet = $objQuery->getAll("SHOW VARIABLES");
+		$arrRet = $objQuery->getAll("select version()");
 		
 		sfPrintR($arrRet);
