Comments (7)
The problem is that MySQL client 8 cannot dump from MySQL server 5.x. The bug is filed here:
https://bugs.mysql.com/bug.php?id=89825
The workaround is to disable column statistics, which relies on 8.x:
$ wp db export --column-statistics=0
from wp-cli-tests.
I can confirm this issue on another Mac:
$ php -v | grep built
PHP 7.1.20 (cli) (built: Jul 20 2018 10:27:12) ( NTS )
$ wp --version
WP-CLI 1.5.1
// From" About This Mac" dialogue:
Model Name: MacBook Pro
Model Identifier: MacBookPro12,1
Processor Name: Intel Core i5
Processor Speed: 2.7 GHz
Number of Processors: 1
Total Number of Cores: 2
L2 Cache (per Core): 256 KB
L3 Cache: 3 MB
Memory: 8 GB
Boot ROM Version: MBP121.0177.B00
SMC Version (system): 2.28f7
from wp-cli-tests.
Have you tried running mysql_upgrade
? This should make sure the database is properly upgraded and that the needed tables are created.
from wp-cli-tests.
There also seem to be some incompatibilities with MySQL 8 and PHP 7.2.8. A possible workaround for now — if mysql_upgrade
didn't help — is adding this to your MySQL config:
[mysqld]
default-authentication-plugin=mysql_native_password
from wp-cli-tests.
@swissspidy Other option is something like this
ALTER USER 'username'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
from wp-cli-tests.
I'm working on this in #71
from wp-cli-tests.
Closed via #71
from wp-cli-tests.
Related Issues (20)
- composer prepare-tests error
- Add spellchecking
- Improve run-behat-tests for custom setups
- Using TEST_DB where it should be TEST_USER HOT 1
- Using the bundled PHP web server step triggers `Use of undefined constant WP_CLI_ROOT` warning HOT 3
- Run tests against Windows HOT 4
- WordPress.PHP.DisallowShortTernary has been removed in upstream development WordPress-Coding-Standards HOT 2
- Fix install-package-tests random build failures HOT 6
- Add linting for Behat feature files
- Indicate specific PHPCS issues in CI job
- Update to WPCS 3.0.0 HOT 8
- cp -r causes issues with symlinks on MacOS HOT 1
- Properly support `@require-wp-latest` HOT 4
- The built-in PHP webserver step background process is not always terminated HOT 1
- Abandoned dependencies HOT 4
- Documented install command fails HOT 2
- `WP_VERSION` should default to latest patch if not provided HOT 4
- Move WPCS to v2.2.0 HOT 4
- Failed installation, dependency conflicts from locked versions of other packages.
- Setup issue, native wp functions not found, inability to complete prepare-tests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-cli-tests.