diff --git a/ibis-server/app/model/data_source.py b/ibis-server/app/model/data_source.py index 4328fec6b..ea6d04f7c 100644 --- a/ibis-server/app/model/data_source.py +++ b/ibis-server/app/model/data_source.py @@ -165,7 +165,7 @@ def get_mysql_connection(cls, info: MySqlConnectionInfo) -> BaseBackend: port=int(info.port.get_secret_value()), database=info.database.get_secret_value(), user=info.user.get_secret_value(), - password=(info.password and info.password.get_secret_value()), + password=info.password.get_secret_value() if info.password else "", **kwargs, )