promenjeno
This commit is contained in:
@@ -26,7 +26,7 @@ else
|
|||||||
-e MYSQL_DATABASE="${DATABASE}" \
|
-e MYSQL_DATABASE="${DATABASE}" \
|
||||||
-p "${PORT}:3306" \
|
-p "${PORT}:3306" \
|
||||||
-v "${CONTAINER}-data:/var/lib/mysql" \
|
-v "${CONTAINER}-data:/var/lib/mysql" \
|
||||||
-v "${SQL_DIR}/schema.sql:/docker-entrypoint-initdb.d/01_schema.sql:ro" \
|
-v "${SQL_DIR}/schema.sql:/docker-entrypoint-initdb.d/01_schema.sql:ro,z" \
|
||||||
"${IMAGE}"
|
"${IMAGE}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using MySqlConnector;
|
|||||||
|
|
||||||
// ── Config ────────────────────────────────────────────────────────────────────
|
// ── Config ────────────────────────────────────────────────────────────────────
|
||||||
|
|
||||||
const string DSN = "Server=127.0.0.1;Port=13306;Database=hotel_reservations;Uid=root;Pwd=ewc2025root;AllowLoadLocalInfile=true;";
|
const string DSN = "Server=127.0.0.1;Port=13306;Database=hotel_reservations;Uid=root;Pwd=hotel2025root;AllowLoadLocalInfile=true;";
|
||||||
const int HOTEL_COUNT = 200;
|
const int HOTEL_COUNT = 200;
|
||||||
const int GUEST_COUNT = 100_000;
|
const int GUEST_COUNT = 100_000;
|
||||||
const int BOOKING_COUNT = 500_000;
|
const int BOOKING_COUNT = 500_000;
|
||||||
|
|||||||
Reference in New Issue
Block a user