Example 5: Setting up a connection via Amazon RDS

Assume that:

For details about how to install Amazon RDS, refer to Getting Started with Amazon RDS.

Take the following steps to set up a connection which connects JReport Designer to a database via Amazon RDS:

  1. Start JReport Designer and open the catalog.
  2. In the Data tab of the Catalog Browser, right-click the node of the default data source and select Add JDBC Connection from the shortcut menu.
  3. In the Get JDBC Connection Information dialog, enter the JDBC driver class name com.mysql.jdbc.Driver in the Driver text field.
  4. In the URL text field, specify the URL as jdbc:mysql://jrdbtest.c4fb8hiicidz.us-west-2.rds.amazonaws.com:3306/sampledb1110.
  5. Input the user name dbadmin and password test1234 respectively.
  6. Click OK to set up the connection.

Notes: