forked from jerryhoff/WebGoat.NET
-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathREADME
More file actions
22 lines (12 loc) · 738 Bytes
/
README
File metadata and controls
22 lines (12 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From the prompt, cd into the WebGoat.NET DB directory
% cd /WebGoat.NET/DB
Start the mysql utility, giving the name (and password, if needed) of a user permission to create databases. For example, to use the default root user:
% mysql --user=root
Create the webgoat_coins database and load the schema. (Loading the schema the schema the first time will give error messages as it attemps to empty any existing tables, just ignore these.)
mysql> create database webgoat_coins;
mysql> use webgoat_coins;
mysql> source create_webgoatcoins.sql;
Load the table contents:
mysql> source load_webgoatcoins.sql;
Exit from mysql:
mysql> quit;