Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

going back to mysql

  • Loading branch information...
commit 0e3f5b6d59518085eee778b9fcc80c6e07275127 1 parent c0bcb8c
@tjstein authored
Showing with 3 additions and 8 deletions.
  1. +3 −8 setup.sh
View
11 setup.sh
@@ -184,14 +184,9 @@ install_mysql()
{
echo -n "Installing MySQL... "
MYSQL_PASS=`echo $(</dev/urandom tr -dc A-Za-z0-9 | head -c 15)`
- gpg --quiet --keyserver hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A > /dev/null 2>&1
- gpg -a --export CD2EFD2A | sudo apt-key add - > /dev/null 2>&1
- echo "deb http://repo.percona.com/apt natty main" >> /etc/apt/sources.list
- echo "deb-src http://repo.percona.com/apt natty main" >> /etc/apt/sources.list
- apt-get update > /dev/null 2>&1
- echo "percona-server-server-5.5 percona-server-server/root_password select $MYSQL_PASS" | debconf-set-selections
- echo "percona-server-server-5.5 percona-server-server/root_password_again select $MYSQL_PASS" | debconf-set-selections
- aptitude -y install percona-server-server-5.5 percona-server-client-5.5 > ~/install.log
+ echo "mysql-server mysql-server/root_password select $MYSQL_PASS" | debconf-set-selections
+ echo "mysql-server mysql-server/root_password_again select $MYSQL_PASS" | debconf-set-selections
+ aptitude -y install mysql-server > ~/install.log
cat <<EOF > /root/.my.cnf
[client]
user=root
Please sign in to comment.
Something went wrong with that request. Please try again.