Unknown table 'COLUMN_STATISTICS' in information_schema (1109) #1233
Unanswered
ShapesGraphicStudio
asked this question in
Q&A
Replies: 2 comments
-
I have the same issue. My solution is from here:
or
to a MySQL config file, such as /etc/my.cnf or ~/.my.cnf. |
Beta Was this translation helpful? Give feedback.
0 replies
-
For those who will come, as an alternative, you can instruct laravel-backup to use the flag 'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', '127.0.0.1'),
'...' => '...',
'dump' => env('APP_ENV') === 'local' ? ['doNotUseColumnStatistics'] : []
], You can check for all available settings here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
php artisan backup:run
gives me error:
The dump process failed with exitcode 2 : Misuse of shell builtins : mysqldump: Couldn't execute 'SELECT COLUMN_NAME, JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"') FROM information_schema.COLUMN_STATISTICS WHERE SCHEMA_NAME = 'database_name' AND TABLE_NAME = 'failed_jobs';': Unknown table 'COLUMN_STATISTICS' in information_schema (1109)
Is there a way to turn statistics off in config file?
Best regards,
David
Beta Was this translation helpful? Give feedback.
All reactions