Skip to content

Commit

Permalink
lando/lando#1462: Test MySQL 8 on the Drupal 10 recipe.
Browse files Browse the repository at this point in the history
  • Loading branch information
reynoldsalec committed Feb 24, 2023
1 parent 7511156 commit 66fa05a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
9 changes: 8 additions & 1 deletion examples/drupal10/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Drupal 10 Example
Drupal 10 w/MySQL 8 Example
================

This example exists primarily to test the following documentation:
Expand Down Expand Up @@ -67,6 +67,13 @@ lando ssh -c "which drush" | grep "/app/vendor/bin/drush"
# Should be able to install drupal
cd drupal10
lando drush si --db-url=mysql://drupal10:drupal10@database/drupal10 -y

# Should be able to use MySQL 8.x
cd drupal10
pwd
cp ../mysql8.lando.yml .lando.yml
lando rebuild -y
lando mysql -V | grep 8.0
```

Destroy tests
Expand Down
5 changes: 5 additions & 0 deletions examples/drupal10/mysql8.lando.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: lando-drupal10
recipe: drupal10
config:
webroot: .
database: mysql:8.0.22

0 comments on commit 66fa05a

Please sign in to comment.