Skip to content

Commit

Permalink
Fix MySQL 8.0 warning due to empty password.
Browse files Browse the repository at this point in the history
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.

Also closes
- #106 - Bump vite from 5.2.8 to 5.4.6 (increased to 5.4.7)
- #105 - Bump axios from 1.6.7 to 1.7.7
- #102 - Bump braces from 3.0.2 to 3.0.3
  • Loading branch information
rubenvarela committed Sep 22, 2024
1 parent cdd11bb commit a1d99da
Show file tree
Hide file tree
Showing 6 changed files with 1,823 additions and 953 deletions.
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/env.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<pre>
<?php
print_r($_ENV);
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!');
3 changes: 3 additions & 0 deletions examples/acquia-mysql-8/docroot/site-environment.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

print($_ENV['AH_SITE_ENVIRONMENT']);
Loading

0 comments on commit a1d99da

Please sign in to comment.