shopware / development

MIT License
189 stars 170 forks source link

Docker Image psh.phar init-test-database not working #167

Closed scottie-33 closed 2 years ago

scottie-33 commented 2 years ago

PHP Version

7.4.23

Shopware Version

6.4.4.0

Expected behaviour

Script "./psh.phar init-test-databases" should init test database.

Actual behaviour

Script stops in step 3/6 mysqldump 'shopware' -u 'app' -p'app' -h 'mysql' --port='3306' | mysql 'shopware_test' -u 'app' -p'app' -h 'mysql' --port='3306'

Error: ERROR 3105 (HY000) at line 3622: The value specified for generated column 'order_date' in table 'order' is not allowed. mysqldump: Got errno 32 on write Execution aborted, a subcommand failed!

How to reproduce

Run command "./psh.phar init-test-databases"

shyim commented 2 years ago

To solve this the database container needs to be an MariaDB container