diff --git a/dbt/adapters/mariadb/connections.py b/dbt/adapters/mariadb/connections.py index a8fcb74..30a3579 100644 --- a/dbt/adapters/mariadb/connections.py +++ b/dbt/adapters/mariadb/connections.py @@ -18,7 +18,7 @@ class MariaDBCredentials(Credentials): server: str = "" port: Optional[int] = None - database: str = "" + database: Optional[str] = None schema: str = "" username: Optional[str] = None password: Optional[str] = None diff --git a/dbt/adapters/mysql/connections.py b/dbt/adapters/mysql/connections.py index 45329e3..6fb69fd 100644 --- a/dbt/adapters/mysql/connections.py +++ b/dbt/adapters/mysql/connections.py @@ -18,7 +18,7 @@ class MySQLCredentials(Credentials): server: str = "" port: Optional[int] = None - database: str = "" + database: Optional[str] = None schema: str = "" username: Optional[str] = None password: Optional[str] = None diff --git a/dbt/adapters/mysql5/connections.py b/dbt/adapters/mysql5/connections.py index a9c58e9..c6039e3 100644 --- a/dbt/adapters/mysql5/connections.py +++ b/dbt/adapters/mysql5/connections.py @@ -18,7 +18,7 @@ class MySQLCredentials(Credentials): server: str = "" port: Optional[int] = None - database: str = "" + database: Optional[str] = None schema: str = "" username: Optional[str] = None password: Optional[str] = None