Skip to content

Commit 7859ee8

Browse files
rds
1 parent 46bb91d commit 7859ee8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

html/includes/db_connect.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
session_start();
55
}
66

7-
// MySQL connection
8-
$mysqli = new mysqli('db','mktuser','mkpass','marketplace');
7+
// MySQL connection - AWS RDS
8+
$mysqli = new mysqli('ourawork.ckb40aqwiavq.us-east-1.rds.amazonaws.com','admin','family95','marketplace');
99
if ($mysqli->connect_error) {
1010
die('DB connect error: ' . $mysqli->connect_error);
1111
}

0 commit comments

Comments
 (0)