You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .travis/initializedb.sh
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,12 @@ if [ ! -z "${DB}" ]; then
9
9
# disable existing database server in case of accidential connection
10
10
mysql -u root -e 'drop user travis@localhost; drop user root@localhost; drop user travis; create user super@localhost; grant all on *.* to super@localhost with grant option'
11
11
mysql -u super -e 'drop user root'
12
-
F=mysql-${DB}-linux-glibc2.5-x86_64
12
+
13
+
F=mysql-${DB}-linux-glibc2.12-x86_64
13
14
mkdir -p ${HOME}/mysql
14
15
P=${HOME}/mysql/${F}
15
16
if [ !-d"${P}" ];then
16
-
wget http://cdn.mysql.com/Downloads/MySQL-${DB%.*}/${F}.tar.gz -O - | tar -zxf - --directory=${HOME}/mysql
17
+
wget https://cdn.mysql.com//Downloads/MySQL-${DB%.*}/${F}.tar.gz -O - | tar -zxf - --directory=${HOME}/mysql
0 commit comments