question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mysqldump: Couldn't execute 'SELECT COLUMN_NAME, JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"')

See original GitHub issue

ver: DBeaver 5.2.4 An error occurred while dumping

/Applications/MySQLWorkbench.app/Contents/MacOS/mysqldump --routines --add-drop-table --disable-keys --extended-insert -v --host=127.0.0.1 --port=15117 -u root db_old
-- Connecting to 127.0.0.1...
-- Retrieving table structure for table ads...
-- Sending SELECT query...
-- Retrieving rows...
mysqldump: Couldn't execute 'SELECT COLUMN_NAME,                       JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"')                FROM information_schema.COLUMN_STATISTICS                WHERE SCHEMA_NAME = 'db_old' AND TABLE_NAME = 'table_one';': Unknown table 'COLUMN_STATISTICS' in information_schema (1109)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:5

github_iconTop GitHub Comments

35reactions
Mirocowcommented, Jul 1, 2019

i use with “–column-statistics=0”

0reactions
nikeshrajputcommented, Jun 28, 2022

Thank You! This worked for me with argument --column-statistics=0 for mysqldump utility.

Read more comments on GitHub >

github_iconTop Results From Across the Web

mysql - mysqldump: Couldn't execute. Unknown table ...
I want to dump my database, even after following correct syntax it thows me following error. Syntax I used : mysqldump -uroot -p ......
Read more >
Mysqldump error: Couldn't execute 'SELECT COLUMN_NAME
mysqldump : Couldn't execute 'SELECT COLUMN_NAME, JSON_EXTRACT (HISTOGRAM,' $. “number-of-buckets-specified” ') FROM information_schema.
Read more >
Error backing up MYSQL database : Forums - PythonAnywhere
mysqldump : Couldn't execute 'SELECT COLUMN_NAME, JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"') FROM information_schema.
Read more >
mysqldump 导出提示Couldn't execute SELECT ... - 博客园
mysqldump : Couldn't execute 'SELECT COLUMN_NAME, JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"') FROM information_schema.
Read more >
mysqldump: Couldn't execute 'SELECT COLUMN_NAME ...
mysqldump : Couldn't execute 'SELECT COLUMN_NAME, JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"') FROM information_schema.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found