 	}
 	
 	func testListDbs1() {
-		
-		let mysql = MySQL()
-		let res = mysql.connect(HOST, user: USER, password: PASSWORD)
-		
-		XCTAssert(res)
-		
-		if !res {
-			print(mysql.errorMessage())
-		}
-		
 		let list = mysql.listDatabases()
 		
 		XCTAssert(list.count > 0)
 		
 		print(list)
-		
-		mysql.close()
 	}
 	
 	func testListDbs2() {
-		
-		let mysql = MySQL()
-		let res = mysql.connect(HOST, user: USER, password: PASSWORD)
-		
-		XCTAssert(res)
-		
-		if !res {
-			print(mysql.errorMessage())
-		}
-		
 		let list = mysql.listDatabases("information_%")
 		
 		XCTAssert(list.count > 0)
 		
 		print(list)
-		
-		mysql.close()
 	}
 	
 	func testListTables1() {
-		
-		let mysql = MySQL()
-		let res = mysql.connect(HOST, user: USER, password: PASSWORD)
-		
-		XCTAssert(res)
-		
-		if !res {
-			print(mysql.errorMessage())
-		}
-		
 		let sres = mysql.selectDatabase("information_schema")
 		
 		XCTAssert(sres == true)

                XCTAssertEqual(e[28] as? String, "1")
			}
			XCTAssert(ok, stmt1.errorMessage())
			
			results.close()
			stmt1.close()
		}
	}
	
	func testServerVersion() {
		let mysql = MySQL()
		defer {
			mysql.close()
		}
		let res = mysql.connect(HOST, user: USER, password: PASSWORD)
		XCTAssert(res)
		
		if !res {
			print(mysql.errorMessage())
		}
		
		let vers = mysql.serverVersion()
		XCTAssert(vers >= 50627) // YMMV
	}

				
				let execRes = stmt1.execute()
				XCTAssert(execRes, "\(stmt1.errorCode()) \(stmt1.errorMessage()) - \(mysql.errorCode()) \(mysql.errorMessage())")
			}
		}
		
		do {
			let stmt1 = MySQLStmt(mysql)
            defer { stmt1.close() }
			
			let prepRes = stmt1.prepare("SELECT * FROM all_data_types")
			XCTAssert(prepRes, stmt1.errorMessage())
