Description:
added more instructions on creating mysal data
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r89:32f1f89c92d7 - - 1 file changed: 15 inserted, 0 deleted
@@ -32,12 +32,27 | |||
|
32 | 32 | |
|
33 | 33 | if [ "$ch" = "n" -o "$ch" = "N" ] |
|
34 | 34 | then |
|
35 | 35 | echo "Please open another terminal and create the user and database for Cafe grader." |
|
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 | + echo | |
|
39 | + echo "The following are instructions:" | |
|
40 | + echo "1. Run mysql:" | |
|
41 | + echo | |
|
42 | + echo " mysql -u root -p" | |
|
43 | + echo | |
|
44 | + echo " if you have just installed mysql, the root password is the one that you have just entered" | |
|
45 | + echo "2. Create a new database, a new user, and grant access to grader database:" | |
|
46 | + echo | |
|
47 | + echo " create user 'USERNAME'@'localhost' identified by 'PASSWORD';" | |
|
48 | + echo " create database DATABASENEME;" | |
|
49 | + echo " grant all on DATABASENAME.* to 'USERNAME'@'localhost';" | |
|
50 | + echo | |
|
51 | + echo " Replace USERNAME, PASSWORD, and DATABASENAME accordingly." | |
|
52 | + echo | |
|
38 | 53 | echo "Hit enter when ready..." |
|
39 | 54 | read dummy |
|
40 | 55 | fi |
|
41 | 56 | |
|
42 | 57 | CAFE_PATH=`pwd` |
|
43 | 58 |
You need to be logged in to leave comments.
Login now