Description:
fixed database creation instructions in installer script. patch by Witchakorn Kamolpornwijit
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r97:b344db59d967 - - 1 file changed: 2 inserted, 2 deleted
@@ -36,26 +36,26 | |||
|
36 | 36 | echo "Don't forget to grant access to that database for the user." |
|
37 | 37 | echo "Please have username, password, and database name ready before continue." |
|
38 | 38 | echo |
|
39 | 39 | echo "The following are instructions:" |
|
40 | 40 | echo "1. Run mysql:" |
|
41 | 41 | echo |
|
42 | 42 | echo " mysql -u root -p" |
|
43 | 43 | echo |
|
44 | 44 | echo " if you have just installed mysql, the root password is the one that you have just entered" |
|
45 | 45 | echo "2. Create a new database, a new user, and grant access to grader database:" |
|
46 | 46 | echo |
|
47 | 47 | echo " create user 'USERNAME'@'localhost' identified by 'PASSWORD';" |
|
48 | - echo " create database DATABASENEME;" | |
|
49 | - echo " grant all on DATABASENAME.* to 'USERNAME'@'localhost';" | |
|
48 | + echo " create database \`DATABASENEME\`;" | |
|
49 | + echo " grant all on \`DATABASENAME\`.* to 'USERNAME'@'localhost';" | |
|
50 | 50 | echo |
|
51 | 51 | echo " Replace USERNAME, PASSWORD, and DATABASENAME accordingly." |
|
52 | 52 | echo |
|
53 | 53 | echo "Hit enter when ready..." |
|
54 | 54 | read dummy |
|
55 | 55 | fi |
|
56 | 56 | |
|
57 | 57 | CAFE_PATH=`pwd` |
|
58 | 58 | |
|
59 | 59 | cd web |
|
60 | 60 | |
|
61 | 61 | echo "Please provide grader database:" |
You need to be logged in to leave comments.
Login now