Changeset 40221 for trunk/ippToPsps/test/mkgpc1.sh
- Timestamp:
- Nov 28, 2017, 12:49:44 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/test/mkgpc1.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/test/mkgpc1.sh
r40218 r40221 12 12 13 13 mysql -h $dbhost -u root -p -e "grant all on *.* to $dbuser@"$dbhost" identified by '$dbpass'" 14 exit 0; 15 endif 16 17 if ("$1" == "user.sudo") then 18 if ($#argv != 4) goto usage; 19 set dbhost = $2 20 set dbuser = $3 21 set dbpass = $4 22 23 sudo mysql -h $dbhost -u root -p -e "grant all on *.* to $dbuser@"$dbhost" identified by '$dbpass'" 14 24 exit 0; 15 25 endif … … 118 128 echo " delete an existing test db (enter pass 3x)" 119 129 echo "" 130 echo " mkgpc1.sh forcedelete (dbhost) (dbname) (dbuser) [dbpass]" 131 echo " delete an existing test db (enter pass 3x), even if the number of tables is wrong" 132 echo "" 120 133 echo " mkgpc1.sh user (dbhost) (dbuser) (password)" 121 134 echo " create a new user and password for the test db" 122 135 echo "" 136 echo " mkgpc1.sh user.sudo (dbhost) (dbuser) (password)" 137 echo " create a new user and password for the test db, using sudo mysql" 138 echo " (this option is needed if your mysql installation uses the auth_socket plugin" 139 echo "" 123 140 exit 2
Note:
See TracChangeset
for help on using the changeset viewer.
