dosubot[bot] commented on issue #34072: URL: https://github.com/apache/superset/issues/34072#issuecomment-3036703081
<!-- Greeting --> Hi @wakkorottix! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team. <!-- Answer --> This error is likely caused by a driver mismatch or missing driver after the upgrade. Superset expects the pydoris driver for Doris connections—if it's missing or not registered, SQLAlchemy may fall back to a MySQL driver like MySQLdb, which can cause handshake/authentication errors like the one you’re seeing [(source)](https://github.com/apache/superset/blob/ef14a5fbb47a540b0c91f40fa397fa9c6d18fa2d/superset/db_engine_specs/doris.py). Check that the pydoris package is installed in your environment and that your Doris connection URI uses the correct dialect (e.g., `doris://` or `pydoris://`). If you see `mysql://` or `mysqldb://` in your connection string, update it to use the Doris driver. There are no breaking changes in Superset 5.0.0 that would affect Doris connections directly, but the environment and installed drivers are critical for compatibility [(source)](https://github.com/apache/superset/blob/ef14a5fbb47a540b0c91f40fa397fa9c6d18fa2d/superset/db_engine_specs/doris.py). If pydoris is installed and the URI is correct but the issue persists, try reinstalling the driver or testing the connection outside of Superset to isolate the problem. Let me know if you need help with the exact connection string format or further troubleshooting. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/624da49c-785d-46b0-aebf-87eca89dead5?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/624da49c-785d-46b0-aebf-87eca89dead5?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/624da49c-785d-46b0-aebf-87eca89dead5?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/624da49c-785d-46b0-aebf-87eca89dead5?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/624da49c-785d-46b0-aebf-87eca89dead5?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/624da49c-785d-46b0-aebf-87eca89dead5?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/624da49c-785d-46b0-aebf-87eca89dead5?feedback_type=other)</sup> [](https://go.dosu.dev/discord-bot) [! [Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/34072) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
