Chat2DB icon indicating copy to clipboard operation
Chat2DB copied to clipboard

Adaptation deployment data source: MYSQL

Open 188 opened this issue 11 months ago • 0 comments

Modify the initialization script

  • ssl Indicates ssl to match the MYSQL keyword
  • schema is changed to schema to match the mysql keyword
  • Change bigint(20) to bigint: Integer display width is deprecated and will be removed in a future release.
  • MODIFY the field length. Use: Replace ALTER with modify to adapt MYSQL

Modify the DO MYSQL keyword processing

  • schema field Added @TableField(" schema ") annotation
  • ssl field Added @TableField(" ssl ") annotation

Test method

  • ai.chat2db.server.domain.repository.Dbutils initDataSource method to modify the data source for MYSQL in 8

188 avatar Mar 07 '24 15:03 188