Skip to content

Commit

Permalink
[dev-env]: Hotfix mysql 8.4 being incompatible due to auth plugin dep…
Browse files Browse the repository at this point in the history
…recation (#1803)

* Update DEV_ENVIRONMENT_VERSION to 2.0.3
* Lock mysql at 8.4, use the new flag and drop the old one.
  • Loading branch information
rinatkhaziev authored May 1, 2024
1 parent c3c4192 commit 941e86f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions assets/dev-env.lando.template.yml.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ services:
image: mariadb:<%= mariadb %>
command: docker-entrypoint.sh mysqld --sql-mode=ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION --max_allowed_packet=67M
<% } else { %>
image: mysql:8
command: docker-entrypoint.sh mysqld --sql-mode=ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION --max_allowed_packet=67M --default-authentication-plugin=mysql_native_password
image: mysql:8.4
command: docker-entrypoint.sh mysqld --sql-mode=ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION --max_allowed_packet=67M --mysql-native-password=ON
<% } %>
ports:
- ":3306"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/constants/dev-environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ export const DEV_ENVIRONMENT_PHP_VERSIONS: Record< string, PhpImage > = {
},
} as const;

export const DEV_ENVIRONMENT_VERSION = '2.0.2';
export const DEV_ENVIRONMENT_VERSION = '2.0.3';

0 comments on commit 941e86f

Please sign in to comment.