# HG changeset patch # User Jittat Fakcharoenphol # Date 2010-02-24 00:30:51 # Node ID 32f1f89c92d70da8a0fa30145f3368bea25768cb # Parent 692a33c93a20e4bc178642a59ccad501dbfa9730 added more instructions on creating mysal data diff --git a/installer/install.sh b/installer/install.sh --- a/installer/install.sh +++ b/installer/install.sh @@ -35,6 +35,21 @@ echo "Please open another terminal and create the user and database for Cafe grader." echo "Don't forget to grant access to that database for the user." echo "Please have username, password, and database name ready before continue." + echo + echo "The following are instructions:" + echo "1. Run mysql:" + echo + echo " mysql -u root -p" + echo + echo " if you have just installed mysql, the root password is the one that you have just entered" + echo "2. Create a new database, a new user, and grant access to grader database:" + echo + echo " create user 'USERNAME'@'localhost' identified by 'PASSWORD';" + echo " create database DATABASENEME;" + echo " grant all on DATABASENAME.* to 'USERNAME'@'localhost';" + echo + echo " Replace USERNAME, PASSWORD, and DATABASENAME accordingly." + echo echo "Hit enter when ready..." read dummy fi