Để đảm bảo ứng dụng hoạt động chính xác, chúng ta cần nạp dữ liệu vào RDS instance. Chúng ta sẽ sử dụng SQL script trong thư mục aws-fcaj-container-app/database để chèn dữ liệu. Để thực hiện việc này, trước tiên hãy di chuyển đến thư mục aws-fcaj-container-app/database để lấy đường dẫn của script:
cd aws-fcaj-container-app/database
echo $PWD/init.sql


mysql -h "rds-endpoint" -u admin -p

source /project/aws-fcaj-container-app/database/init.sql để thực thi SQL script

Kiểm tra cơ sở dữ liệu: SHOW DATABASES;

Kiểm tra dữ liệu: USE fcajresbar sau đó SELECT * FROM Categories;
