-
Notifications
You must be signed in to change notification settings - Fork 44
Reattach a ducklake with MySQL catalog #70
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
Comments
Are you sure that the database is not attached already? You could try |
Yes pretty much, also tried to close and open a new client before attaching the existing ducklake. |
Make sure you don't have another |
So after seeing this issue: #112 It seems that adding the METADATA_SCHEMA option solves the problem:
I'm just wondering if this is normal and the relevant way to do this ? |
Uh oh!
There was an error while loading. Please reload this page.
Hello,
Maybe I missed some information somewhere.
I set up a DuckLake with a MySQL catalog, everything seemed fine, but when I wan't to reattach it I run into those errors:
ATTACH 'ducklake:mysql:db=ducklake_catalog host=192.168.1.100 user=root port=3306 password=xxx' AS myDucklake ; Invalid Input Error:
Attempting to create a new ducklake instance but data_path is not set - set the DATA_PATH parameter to the desired location of the data files
ATTACH 'ducklake:mysql:db=ducklake_catalog host=192.168.1.100 user=root port=3306 password=xxx' AS myDucklake (DATA_PATH 'data_files/');
IO Error: Failed to initialize DuckLake:Failed to run query "CREATE TABLE
ducklake_catalog.
ducklake_metadata(
keyTEXT NOT NULL,
valueTEXT NOT NULL);": Table 'ducklake_metadata' already exists
The text was updated successfully, but these errors were encountered: