Skip to content

Commit

Permalink
Disable GPG checks when installing MySQL on SLES 12. (#1346)
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpeshansky authored Jul 21, 2023
1 parent 5bd28b2 commit 4d486fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ else
# Installation followed in: https://dev.mysql.com/doc/mysql-sles-repo-quick-guide/en/
sudo zypper -n --no-gpg-checks install https://dev.mysql.com/get/${mysql_repo_pkg_name}
sudo rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
sudo zypper -n install mysql-community-server
sudo zypper -n --no-gpg-checks install mysql-community-server
fi

if [[ "${SUSE_VERSION}" == 12 ]]; then
Expand Down Expand Up @@ -72,4 +72,4 @@ server-id = 2
log-bin = /var/log/mysql/mysql2-bin.log
EOF

sudo service mysql restart
sudo service mysql restart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ else
sudo zypper modifyrepo -d mysql80-community
sudo zypper modifyrepo -e mysql57-community

sudo zypper -n install mysql-community-server
sudo zypper -n --no-gpg-checks install mysql-community-server
fi

if [[ "${SUSE_VERSION}" == 12 ]]; then
Expand Down Expand Up @@ -76,4 +76,4 @@ server-id = 2
log-bin = /var/log/mysql/mysql2-bin.log
EOF

sudo service mysql restart
sudo service mysql restart

0 comments on commit 4d486fe

Please sign in to comment.