File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ jobs:
278278 # https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md#mysql
279279 sudo apt-get install -y mysql-server
280280 sudo systemctl start mysql
281- sudo mysql -uroot -proot -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY ''; FLUSH PRIVILEGES;"
281+ sudo mysql -uroot -proot -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY ''; FLUSH PRIVILEGES;"
282282 sudo systemctl restart mysql
283283 sudo mysql -uroot -e "SELECT VERSION();"
284284
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ RUN mvn -Pdeveloper -Dsimulator -DskipTests clean install
5858RUN find /var/lib/mysql -type f -exec touch {} \; && \
5959 (/usr/bin/mysqld_safe &) && \
6060 sleep 5; \
61- mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password by ''" --connect-expired-password; \
61+ mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password by ''" --connect-expired-password; \
6262 mvn -Pdeveloper -pl developer -Ddeploydb; \
6363 mvn -Pdeveloper -pl developer -Ddeploydb-simulator; \
6464 MARVIN_FILE=`find /root/tools/marvin/dist/ -name "Marvin*.tar.gz" `; \
You can’t perform that action at this time.
0 commit comments