mysql.properties 1.1 KB

123456789101112131415161718192021222324252627
  1. #
  2. # see http://schemaspy.sourceforge.net/dbtypes.html
  3. # for configuration / customization details
  4. #
  5. # note that MySQL tables must be of type 'InnoDB' or they won't
  6. # have foreign key relationships
  7. description=MySQL
  8. connectionSpec=jdbc:mysql://<host>/<db>
  9. host=hostname[:port] host where database resides with optional port
  10. db=database name
  11. driver=com.mysql.jdbc.Driver
  12. # Sample path to the MySQL drivers.
  13. # Use -dp to override.
  14. # The driver should be available at www.mysql.com/products/connector/j/
  15. driverPath=/mysql/mysql-connector-java-5.1.6-bin.jar
  16. # return table_name, comments for a specific :schema (which MySQL doesn't have, so the db name will be used)
  17. selectTableCommentsSql=select table_name, table_comment comments from information_schema.tables where table_schema=:schema
  18. # this should be significantly faster than the default implementation, but will be
  19. # a rough estimate for InnoDB-based tables
  20. # comment out this line if that's not appropriate for your situation
  21. selectRowCountSql=select table_rows row_count from information_schema.tables where table_name=:table