Unknown variable 'column-statistics=0'
See original GitHub issueSystem information:
- Ubuntu 20.04.2 LTS
- DBeaver 21.0.0
- mysqldump Ver 10.19 Distrib 10.5.9-MariaDB, for debian-linux-gnu (x86_64)
Connection specification:
- mysql Ver 15.1 Distrib 10.5.9-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
- MariaDB Java Client 2.4.3
Describe the problem you’re observing:
Whenever I try to dump a local or remote database I get following error:
/usr/bin/mysqldump --column-statistics=0 --routines --add-drop-table --disable-keys (...)
Task 'MySQL dump' started at Mon Mar 01 21:13:58 CET 2021
/usr/bin/mysqldump: unknown variable 'column-statistics=0'
I guess the version check in dbeaver/dbeaver#11444 doesn’t properly detect MariaDB. Is there a way to prevent this option from being added?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:7 (4 by maintainers)
Top Results From Across the Web
mysqldump still fails even with mysqldump --column-statistics=0
EDIT: Even trying to get the version gives me an error. mysqldump -v mysqldump: [ERROR] unknown variable 'column-statistics=0'. Mysql version ...
Read more >[ERROR] unknown variable 'column-statistics=0' when ...
mysql - Getting mysqldump: [ERROR] unknown variable 'column-statistics=0' when exporting database though shell in MAMP - Stack Overflow. Stack ...
Read more >mysqldump throws: Unknown table 'COLUMN_STATISTICS' in ...
I can confirm that MySQLWorkbench v8.0.17 fixed the issue (MacOs). It was throwing this error on MySQLWorkbench v8.0.12 and upgraded. I noticed ...
Read more >[ERROR] unknown variable 'column-statistics=0' : Forums
mysqldump: [ERROR] unknown variable 'column-statistics=0' ; getting the above error when trying to create a mysql backup following the steps in ...
Read more >mysqldump: unknown variable 'column-statistics=0' · Issue #608
Describe the bug When running a DB operation (both pull and push) I get the error: ▭▭ Pulling Database ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed.
Yep, you guys are right about the cause. Sorry for that, I will fix that soon.