-
Notifications
You must be signed in to change notification settings - Fork 72
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
Issue #9 seems unable to properly decode utf8mb4 #47
Comments
Thank you for your feedback, From the logs, it seems that Can you provide the MySQL version? It would be even better if you could provide the specific IBD file Edit the ibd2sql/innodb_page_index.py file and add |
Hi
mysql --version 
mysql Ver 9.0.1 for macos14 on x86_64 (MySQL Community Server - GPL)

… On Dec 13, 2024, at 8:50 PM, ddcw ***@***.***> wrote:
_ = self._read_innodb_varsize()
|
I tried to simulate it with mysql-9.0.1, but couldn't reproduce it. Based on the log above, it is speculated that the first data is (1, text, ?, 1, 255, -2063201025 or null, -2063201278 or null) |
Hi |
Thank you for providing the verification data. It has been fixed. Please download the latest version for verification |
Good work. I clicked on the link and then did:
Same error it seems. So it must of downloaded the same version again! How can I download it properly? |
This is warning, not error. It should be an alarm in the Python of macOS. which does not affect data parsing.
|
I fixed the WARNING using the third method, and you can download the latest version again to try it |
Anyway that translated well and I could import into Mysql OK! Thanks. I tried to import the settings table (also convert from .ibd -> sql - using your script):
(some INSERT rows gave errors - only the first 4 worked) |
Hi
First attempt:
Everything is fine unto 'x' in line INSERT INTO
workout
.datatypes
VALUES (1, 'texdata is wrong for this column and all following columns in every insert row. (First column seems OK)
Then I tried with --debug , some output: (I think the error is in here)
...
[2024-12-13 13:12:48] [DEBUG] ROW VERSION : 2
[2024-12-13 13:12:48] [DEBUG] INSTANT FLAG : False
[2024-12-13 13:12:48] [DEBUG] ROW VERSION FLAG : True
[2024-12-13 13:12:48] [DEBUG] NAME: type VERSION_ADDED:0 VERSION_DROPED:0 COL_INSTANT:False ROW VERSION:2
[2024-12-13 13:12:48] [DEBUG] 489 ----> 492 data:tex bdata:b'tex'
[2024-12-13 13:12:48] [DEBUG] ######## DDCW FLAG 2 ########
[2024-12-13 13:12:48] [DEBUG] NAME: fallback VERSION_ADDED:1 VERSION_DROPED:0 COL_INSTANT:True ROW VERSION:2
[2024-12-13 13:12:48] [DEBUG] BLOB ERROR 'utf-8' codec can't decode byte 0x80 in position 1: invalid start byte
[2024-12-13 13:12:48] [DEBUG] 492 ----> 496 data:0x74800000 bdata:b't\x80\x00\x00'
[2024-12-13 13:12:48] [DEBUG] ######## DDCW FLAG 2 ########
...
Contact me for more information.
The text was updated successfully, but these errors were encountered: