Skip to content

Instantly share code, notes, and snippets.

@srs81
Created July 18, 2012 22:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srs81/3139234 to your computer and use it in GitHub Desktop.
Save srs81/3139234 to your computer and use it in GitHub Desktop.
AWS: script to set up MySQL on AWS (Amazon AMI)
sudo yum -y groupinstall "MySQL Database" "PHP Support"
sudo yum -y install php-mysql
sudo service mysqld start
mysql -u root -e "CREATE DATABASE cake"
wget https://raw.github.com/gist/3139201/6cc45f51c6fce82296a7080a33e800576879eacb/mysql_insert_select_test.php
php mysql_insert_select_test.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment