Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dbt connection with mysql server #178

Open
lenokwar opened this issue Dec 5, 2024 · 0 comments
Open

dbt connection with mysql server #178

lenokwar opened this issue Dec 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lenokwar
Copy link

lenokwar commented Dec 5, 2024

I am using the package mysql-connector-python version 9.1.0.

When I run dbt debug in the terminal to test the MySQL connection in profiles.yml, the expected line Connection test: [OK connection ok] is missing in the output.

bug

However, after downgrading to an older version of mysql-connector-python (e.g., pip install mysql-connector-python==8.0.29), the missing line appears

bug2

Steps To Reproduce

  1. Install dbt-core and dbt-mysql: bash pip install dbt-core dbt-mysql

  2. Initialize a dbt project: bash dbt init

bug3

  1. Run dbt debug in the terminal: bash dbt debug

The output of dbt --version:

Core:
  - installed: 1.7.19

The operating system you're using: Windows 10 Home x64 bit

The output of python --version: python3.12

@lenokwar lenokwar added the bug Something isn't working label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant