Skip to content

Instantly share code, notes, and snippets.

@srs81
Created July 19, 2012 17:13
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/3145406 to your computer and use it in GitHub Desktop.
Save srs81/3145406 to your computer and use it in GitHub Desktop.
AWS: script to set up MySQL on AWS (Ubuntu AMI)
sudo apt-get -y install mysql-server php5 php5-mysql
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