Navigation

    DDBB

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    IdeaIU使用database插件连接mysql

    JAVA
    1
    1
    168
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      admin last edited by admin

      最右侧点击database

      加号新建连接

      使用console输入mysql命令

      输入下面命令

      drop table if exists `test`;
      create table `test` (
        `id` bigint not null comment 'id',
        `name` varchar(50) comment '名称',
        `password` varchar(50) comment '密码',
        primary key (`id`)
      ) engine=innodb default charset=utf8mb4 comment='测试';
      

      测试查询

      添加数据

      1 Reply Last reply Reply Quote 0
      • First post
        Last post