Open evanirla opened 3 years ago
Looks like it is coming from the sqlalchemy engine in the DoltSQLServerContext
not having the database appended to the url.
Engine(mysql+mysqlconnector://root@127.0.0.1:3307/)
This seems to come from the fact that I am setting the repo_dir
to ./
and the repo_name
property in the Dolt
class does a string split to parse out the repo name. If I am right, could I request that Dolt allows a repo name to be set in the metadata? That or doltpy needs to do a SHOW DATABASES call against the MySQL database.
I am receiving a database error when calling the
sync_to_dolt
function fromdoltpy.sql.sync
, where it almost looks like the database name is null, but I don't seem to have the option of setting it in theServerConfiguration
instance orDolt
instance.