Update mySQL version in documentation to run PHP unit tests (#36587)

* Update README.md

Version 5.7.33 is not available for ARM Macs. I tested with version 8.0.32 and the tests work.

* Add changelog
This commit is contained in:
Nathan Silveira 2023-01-27 10:17:39 -03:00 committed by GitHub
parent dead6d7060
commit f1981618ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
Significance: patch
Type: update
Comment: Update mySQL version on documentation regarding how to run tests

View File

@ -25,7 +25,7 @@ To run the tests, you need to create a test database. You can:
- Access a database on a server
- Connect to your local database on your machine
- Use a solution like VVV - if you are using VVV you might need to `vagrant ssh` first
- Run a throwaway database in docker with this one-liner: `docker run --rm --name woocommerce_test_db -p 3306:3306 -e MYSQL_ROOT_PASSWORD=woocommerce_test_password -d mysql:5.7.33`. ( Use `tests/bin/install.sh woocommerce_tests root woocommerce_test_password 0.0.0.0` in next step)
- Run a throwaway database in docker with this one-liner: `docker run --rm --name woocommerce_test_db -p 3306:3306 -e MYSQL_ROOT_PASSWORD=woocommerce_test_password -d mysql:8.0.32`. ( Use `tests/bin/install.sh woocommerce_tests root woocommerce_test_password 0.0.0.0` in next step)
### Setup instructions