You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

init.sql 837 B

12345678910111213141516
  1. CREATE TABLE IF NOT EXISTS `datasource_config`
  2. (
  3. `id` bigint(13) NOT NULL AUTO_INCREMENT COMMENT '主键',
  4. `host` varchar(255) NOT NULL COMMENT '数据库地址',
  5. `port` int(6) NOT NULL COMMENT '数据库端口',
  6. `username` varchar(100) NOT NULL COMMENT '数据库用户名',
  7. `password` varchar(100) NOT NULL COMMENT '数据库密码',
  8. `database` varchar(100) DEFAULT 0 COMMENT '数据库名称',
  9. PRIMARY KEY (`id`)
  10. ) ENGINE = InnoDB
  11. DEFAULT CHARSET = utf8 COMMENT ='数据源配置表';
  12. INSERT INTO `datasource_config`(`id`, `host`, `port`, `username`, `password`, `database`)
  13. VALUES (1, '127.0.01', 3306, 'root', 'root', 'test');
  14. INSERT INTO `datasource_config`(`id`, `host`, `port`, `username`, `password`, `database`)
  15. VALUES (2, '192.168.239.4', 3306, 'dmcp', 'Dmcp321!', 'test');