googleapis/mcp-toolbox · error

unable to open Oracle connection with driver %s: %w

Error message

unable to open Oracle connection with driver %s: %w

What it means

Error "unable to open Oracle connection with driver %s: %w" thrown in googleapis/mcp-toolbox.

Source

Thrown at internal/sources/oracle/oracle.go:360

		finalConnStr = fmt.Sprintf(`user="%s" password="%s" connectString="%s"`,
			config.User, config.Password, connectStringBase)
		logger.DebugContext(ctx, fmt.Sprintf("Using godror driver (OCI-based) with connectString: %s\n", connectStringBase))
	} else {
		// Use go-ora driver (pure Go)
		driverName = "oracle"

		finalConnStr = buildGoOraConnString(config.User, config.Password, connectStringBase, config.WalletLocation)

		if hasWallet {
			logger.DebugContext(ctx, fmt.Sprintf("Using go-ora driver (pure-Go) with wallet and serverString: %s\n", connectStringBase))
		} else {
			logger.DebugContext(ctx, fmt.Sprintf("Using go-ora driver (pure-Go) with serverString: %s\n", connectStringBase))
		}
	}

	db, err := sql.Open(driverName, finalConnStr)
	if err != nil {
		return nil, fmt.Errorf("unable to open Oracle connection with driver %s: %w", driverName, err)
	}

	return db, nil
}

View on GitHub (pinned to 8cc6e09de2)

When it happens

Trigger: Thrown at internal/sources/oracle/oracle.go:360 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of googleapis/mcp-toolbox@8cc6e09de2 (2026-09-05). Data as JSON: /api/errors/50011102c6fbf786. Report an issue: GitHub.