Cài đặt Database

Cài đặt Database

  1. Truy cập máy ảo window, mở command prompt
  2. Chạy lệnh dưới đây, thay <rds_host> bằng RDS endpoint
mysql -u root --password=labpassword -h <rds_host>

Connect to the Windows Instance

Connect to the Windows Instance

  1. Chạy lệnh dưới đây để chọn cơ sở dữ liệu tên là travelbuddy
use travelbuddy

Connect to the Windows Instance

  1. Chạy lệnh dưới đây để xem các table có trong cơ sở dữ liệu.
show tables;
  • Bạn sẽ thấy 2 table có trong database

Connect to the Windows Instance