IReport Designer - Adding a Data Source

  1. On the top, click on Report Datasources icon.

    Figure 1

  2. Click on New, select Database JDBC connection and do Next.

    Figure 2

  3. Fill out the following fields:

    Name your data source name
    JDBC Driver select MySQL (com.mysql.jdbc.Driver)
    JDBC URL jdbc:mysql://localhost/database_instance_name
    Username database user
    Password user password
  4. Click on Test to check your connection. Do Save to finish your data source creation.

    Figure 3

See also...

 

Feedback