duckdb / duckdb_mysql

MIT License
45 stars 10 forks source link

copy mysql database error with mac #56

Closed junranhe closed 5 months ago

junranhe commented 5 months ago

What happens?

I use the duckdb_mysql extension to copy mysql data to my local duckdb: test_copy, then throw an exeception:

rosetta error: unexpectedly need to EmulateForward on a synchronous exception x86_rip=0x5036872224 arm_pc=0x5083217512 num_insts=4 inst_index=2 x86 instruction bytes: 0x5211604034821638229 0x8358787009125346435

if I just copy other duckdb data, not mysql exetension, there are not error, may be duckdb_mysql should provide a arm version package for apple mac?

To Reproduce

INSTALL mysql; load mysql; ATTACH 'host=192.168.1.1 user=xxx port=13306 password=xxx database=oryx_order' AS mysqldb (TYPE mysql); COPY FROM DATABASE mysqldb to test_copy;

OS:

macOS Sonama 14.1 (m1)

MySQL Version:

8.0.26

DuckDB Version:

0.10.0

DuckDB Client:

java

Full Name:

何俊然

Affiliation:

有信科技 youxin china

Have you tried this on the latest main branch?

Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?