##############
+# set up some crucial users in the mysql db that we seem to have missed previously.
+
+sep
+
+echo "Adding users to the mysql database."
+
+mysql -u root -p"$mysql_passwd" <<EOF
+ create user if not exists 'root'@'%' IDENTIFIED BY '$mysql_passwd';
+ grant all privileges on *.* TO 'root'@'%' with grant option;
+
+ create user if not exists 'wampcake'@'%' IDENTIFIED BY 'bakecamp';
+ grant all privileges on *.* TO 'wampcake'@'%' with grant option;
+
+ create user if not exists 'lampcake'@'%' IDENTIFIED BY 'bakecamp';
+ grant all privileges on *.* TO 'lampcake'@'%' with grant option;
+EOF
+test_or_die "configuring root, wampcake and lampcake users on mysql"
+
+##############
+
echo "Making some important permission changes..."
# fix up the main web storage.
##############
-# set up some crucial users in the mysql db that we seem to have missed previously.
-
-sep
-
-mysql -u root -p"$mysql_passwd" <<EOF
- create user if not exists 'root'@'%' IDENTIFIED BY '$mysql_passwd';
- grant all privileges on *.* TO 'root'@'%' with grant option;
-
- create user if not exists 'wampcake'@'%' IDENTIFIED BY 'bakecamp';
- grant all privileges on *.* TO 'wampcake'@'%' with grant option;
-
- create user if not exists 'lampcake'@'%' IDENTIFIED BY 'bakecamp';
- grant all privileges on *.* TO 'lampcake'@'%' with grant option;
-EOF
-test_or_die "configuring root, wampcake and lampcake users on mysql"
-
-##############
-
# add the latest version of the cakelampvm environment variables for apache.
sep