Skip to content

Commit 2957c64

Browse files
committed
Fix key verification for mysql repos in ubuntu
1 parent 79f78f9 commit 2957c64

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ci/mysql57.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ rm -fr /etc/mysql
77
rm -fr /var/lib/mysql
88
apt-key add support/5072E1F5.asc # old signing key
99
apt-key add support/3A79BD29.asc # 5.7.37 and higher
10+
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B7B3B788A8D3785C
1011
# Verify the repository as add-apt-repository does not.
1112
wget -q --spider http://repo.mysql.com/apt/ubuntu/dists/$(lsb_release -cs)/mysql-5.7
1213
add-apt-repository 'http://repo.mysql.com/apt/ubuntu mysql-5.7'

ci/mysql80.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ rm -fr /etc/mysql
77
rm -fr /var/lib/mysql
88
apt-key add support/5072E1F5.asc # old signing key
99
apt-key add support/3A79BD29.asc # 8.0.28 and higher
10+
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B7B3B788A8D3785C
1011
# Verify the repository as add-apt-repository does not.
1112
wget -q --spider http://repo.mysql.com/apt/ubuntu/dists/$(lsb_release -cs)/mysql-8.0
1213
add-apt-repository 'http://repo.mysql.com/apt/ubuntu mysql-8.0'

0 commit comments

Comments
 (0)