dbeatty10 / dbt-mysql

dbt-mysql contains all of the code enabling dbt to work with MySQL and MariaDB
Apache License 2.0
75 stars 53 forks source link

`mysql.connector` really wants a `database` argument at connection time #56

Closed jwills closed 3 years ago

jwills commented 3 years ago

Describe the bug

Attempting to do a dbt run fails b/c the mysql.connector.connect doesn't specify a value of database as an argument, so any create table queries will fail with 1046 (3D000): No database selected.

Question

I'm wondering if this was something that happened on the switch from pyodbc to mysql.connector and the code just wasn't updated?