code: public DataSource getDataSource(JdbcDatabase database)
      {
        com.mysql.jdbc.jdbc2.optional.MysqlDataSource dataSource = new com.mysql.jdbc.jdbc2.optional.MysqlDataSource();
        this.setDatasourceParams(database, dataSource);
        return dataSource;
      }
docs: Get and populate the data source object for this database.
  @param database The JDBC database to create a connection to.
  @return The datasource.