Created
February 5, 2013 15:38
-
-
Save rsky/4715211 to your computer and use it in GitHub Desktop.
A shell script to download MySQL.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
release=5.6 | |
version=5.6.10 | |
revision=1 | |
os=el6 | |
arch=x86_64 | |
extension=rpm | |
prefix="http://cdn.mysql.com/Downloads/MySQL-${release}/MySQL" | |
suffix="${version}-${revision}.${os}.${arch}.${extension}" | |
curl -O "${prefix}-client-${suffix}" | |
curl -O "${prefix}-devel-${suffix}" | |
curl -O "${prefix}-server-${suffix}" | |
curl -O "${prefix}-shared-${suffix}" | |
curl -O "${prefix}-shared-compat-${suffix}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment