roots / trellis

WordPress LEMP stack with PHP 8.2, Composer, WP-CLI and more
https://roots.io/trellis/
MIT License
2.51k stars 607 forks source link

Create mysql my.cnf credentials file earlier #1360

Closed swalkinshaw closed 2 years ago

swalkinshaw commented 2 years ago

In some situations the "Set root user password" task might fail because it tries to connect with no root password. Moving the my.cnf credentials file task above it fixes that situation and also just makes more sense in general.

This was discovered during https://github.com/roots/trellis/pull/1359 trying to get Trellis provisioning on GitHub actions.