From 0901c5f0224912e4e26ee480067da1b6566ef40d Mon Sep 17 00:00:00 2001 From: Teddysun Date: Mon, 18 Jul 2016 06:05:30 +0900 Subject: [PATCH] Changed MariaDB's download URL --- include/mysql.sh | 2 +- include/upgrade_db.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mysql.sh b/include/mysql.sh index 98ccd91..6c14dd5 100644 --- a/include/mysql.sh +++ b/include/mysql.sh @@ -187,7 +187,7 @@ install_mariadb(){ fi local down_addr1=http://sfo1.mirrors.digitalocean.com/mariadb/ - local down_addr2=http://ftp.osuosl.org/pub/mariadb/ + local down_addr2=http://mirrors.aliyun.com/mariadb/ local libc_version=`getconf -a | grep GNU_LIBC_VERSION | awk '{print $NF}'` if version_lt ${libc_version} 2.14; then diff --git a/include/upgrade_db.sh b/include/upgrade_db.sh index 0326aeb..e494d75 100644 --- a/include/upgrade_db.sh +++ b/include/upgrade_db.sh @@ -195,7 +195,7 @@ EOF [ ! -d ${datalocation} ] && mkdir -p ${datalocation} down_addr1=http://sfo1.mirrors.digitalocean.com/mariadb/ - down_addr2=http://ftp.osuosl.org/pub/mariadb/ + down_addr2=http://mirrors.aliyun.com/mariadb/ libc_version=`getconf -a | grep GNU_LIBC_VERSION | awk '{print $NF}'` if version_lt ${libc_version} 2.14; then