-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy pathreadme
More file actions
34 lines (25 loc) · 691 Bytes
/
readme
File metadata and controls
34 lines (25 loc) · 691 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
sudo apt-get update
# For Sql-client
sudo apt-get install mysql-client
# For python and related frameworks
sudo apt-get install python3
sudo apt-get install python3-flask
sudo apt-get install python3-pymysql
sudo apt-get install python3-boto3
# for running application
sudo python3 Empapp.py
#for connecting to MYSQL
mysql --host <RDS endpoint> -u <username> -p
<enterpassword>
#connect to DB
use <db name>;
#Creating table
create table employee(
emp_id varchar(20),
first_name varchar(20),
last_name varchar(20),
pri_skill varchar(20),
location varchar(20));
#Type exit to go out of this terminal.
#common error:(port Already in use) then stop apache.
sudo systemctl stop apache2