Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Fix MySQL 8.0 warning due to empty password.

- Specifying MySQL 8 was throwing an error due to password. lando/mysql was updated to handle this, just needed to update deps.
- Added a test for it too since this will be the default soon.

* Remove extra docroot files
  • Loading branch information
rubenvarela authored Sep 23, 2024
1 parent 393ad7a commit 683c80a
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})

* Upgrading PHP from 8.2 to 8.3 which is the new default at Acquia.
* Upgrade @lando/mysql for better MySQL 8 support

## v1.3.1 - [September 12, 2024](https://github.com/lando/acquia/releases/tag/v1.3.1)

Expand Down
9 changes: 9 additions & 0 deletions examples/acquia-mysql-8/.lando.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: acquia-mysql-8
recipe: acquia
services:
database:
type: "mysql:8.0"

# do not remove this
plugins:
"@lando/acquia": ../..
40 changes: 40 additions & 0 deletions examples/acquia-mysql-8/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Acquia MySQL 8.0 Example

This example exists primarily to test the following documentation:

* [Acquia Recipe](https://docs.lando.dev/acquia/config.html)

Start up tests
--------------

Run the following commands to get up and running with this example.

```bash
# Should start up successfully
lando poweroff
lando start
```

Verification commands
---------------------

Run the following commands to validate things are rolling as they should.

```bash
# Should be running mysql 8.0 by default
lando mysql -V | grep 8.0

# Should be able to connect to the database with the default creds
lando mysql acquia -e quit
```

Destroy tests
-------------

Run the following commands to trash this app like nothing ever happened.

```bash
# Should be destroyed with success
lando destroy -y
lando poweroff
```
3 changes: 3 additions & 0 deletions examples/acquia-mysql-8/docroot/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

print('Hello Lando!');
25 changes: 23 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 683c80a

Please sign in to comment.