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 error when pushing up a new snapshot

See original GitHub issue

Describe the bug

It seems there is a problem when pushing up a new snapshot.
I guess this is related https://bugs.mysql.com/bug.php?id=91640

Exporting database...
mysqldump: Couldn't execute 'SELECT COLUMN_NAME,                       JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"')                FROM information_schema.COLUMN_STATISTICS                WHERE SCHEMA_NAME = 'helloworld-test' AND TABLE_NAME = 'wp_commentmeta';': Unknown table 'COLUMN_STATISTICS' in information_schema (1109)

It might worth disabling column-statistics by default:

[mysqldump]
column-statistics=0

Expected behavior Pushing up snapshots successfully.

Environment information

  • MySQL: 5.7.28

Additional context There is no problem with exporting 10updocker wp db export

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8

github_iconTop GitHub Comments

2reactions
eugene-manuilovcommented, Oct 26, 2020

@moraleida try to install 2.8.0-rc.15, it contains the latest version of wpsnapshots that has a fix for this issue. Use npm i -g wp-local-docker@next command to install the rc version and 10updocker --version to make sure the version is 2.8.0-rc.15 or higher. Let me know if it helps.

1reaction
moraleidacommented, Oct 26, 2020

@eugene-manuilov this works, thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

MySQLDump without locking the tables - Stack Overflow
If you are using InnoDB, then you can run mysqldump with the --single-transaction flag and get a consistent snapshot without locking the tables....
Read more >
mysql - Incomplete mysqldump
The basic problem is that mysqldump does not report an error on an InnoDB when the tablespace id is incorrect. When a mysqldump...
Read more >
2 Server Error Message Reference - MySQL :: Developer Zone
InnoDB reports this error when the system tablespace runs out of free space. Reconfigure the system tablespace to add a new data file....
Read more >
Importing data to an Amazon RDS MariaDB or MySQL DB ...
Import data from an external MySQL DB instance into an Amazon RDS DB instance by first dumping it using the mysqldump command line...
Read more >
SQL Server replication: Configuring Snapshot and ...
To configure step by step Snapshot replication, I have set-up two server ... SQL Server replication - New publication wizard - Databases.
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