Skip to content

Error on MySQL 8 #4

@miya0001

Description

@miya0001

We will have an error on behat with MySQL client 8.x like following.

$ ./vendor/bin/behat features/post.feature 

OS:	Darwin 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64
Shell:	
PHP binary:	/usr/local/bin/php
PHP version:	7.2.8
php.ini used:	/usr/local/etc/php/7.2/php.ini
WP-CLI root dir:	/Users/miya/wp-cli/entity-command/vendor/wp-cli/wp-cli
WP-CLI vendor dir:	/Users/miya/wp-cli/entity-command/vendor
WP_CLI phar path:	
WP-CLI packages dir:	
WP-CLI global config:	/var/folders/js/nwh8hv756_v0qqlmmgdc531h0000gn/T/wp-cli-package-test/config.yml
WP-CLI project config:	/Users/miya/wp-cli/entity-command/wp-cli.yml
WP-CLI version:	1.5.1

WordPress 4.9.7

Feature: Manage WordPress posts

  Background:          # features/post.feature:3
mysqldump: Couldn't execute 'SELECT COLUMN_NAME,                       JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"')                FROM information_schema.COLUMN_STATISTICS                WHERE SCHEMA_NAME = 'wp_cli_test' AND TABLE_NAME = 'wp_commentmeta';': Unknown table 'column_statistics' in information_schema (1109)

Related: wp-cli/db-command#105

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions