-
Notifications
You must be signed in to change notification settings - Fork 13
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
Errors while trying to setup mysql replica #329
Comments
Hi @aszenz, The first error message appears to be related to issue #38; I'll investigate it shortly. The second error message seems to involve |
Sure: CREATE TABLE `messenger_messages` (
`id` bigint NOT NULL AUTO_INCREMENT,
`body` longtext NOT NULL,
`headers` longtext NOT NULL,
`queue_name` varchar(190) NOT NULL,
`created_at` datetime(6) NOT NULL,
`available_at` datetime(6) NOT NULL,
`delivered_at` datetime(6) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `IDX_75EA56E0FB7336F0` (`queue_name`),
KEY `IDX_75EA56E0E3BD61CE` (`available_at`),
KEY `IDX_75EA56E016BA31DB` (`delivered_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci This error also occurs for some other tables which use int as primary key auto_increment |
Thank you so much! I’ve addressed the issues with auto-increment columns and check constraints in PRs #333 and #335. The reported errors should now be resolved, though I’m not entirely certain. We would greatly appreciate it if you could try the latest Docker image again and let us know if you encounter any further issues. |
Thanks for the quick fix, just tried with the latest image, it now runs further than before but ends up with these errors: docker run \
--network qt_default \
-p 127.0.0.1:13306:3306 \
--env=SETUP_MODE=REPLICA \
--env=SOURCE_DSN="mysql://root@mysql2:3306/demo" \
apecloud/myduckserver:latest
For the first issue I found a related issue in duckdb: Second issue regarding csv error seems like column type auto-inference is wrong while loading the dump, maybe we can use A strange thing I noticed is that mysql db server has two db's ( |
Great work on the the project, I'm trying to replicate a mysql db, but got these errors:
The text was updated successfully, but these errors were encountered: