MySQL mybatis-generater

mybatis-generater

Posted by Sunfy on 2022-05-19
Words 96 and Reading Time 1 Minutes
Viewed Times
Viewed Times
Visitors In Total

使用方法:

  1. 创建generatorconfig配置文件,并设置
  2. 创建数据库用户名及授权以及数据库
1
drop database if exists xhh;drop user if exists 'xhh'@'localhost';-- 支持emoji:需要mysql数据库参数: character_set_server=utf8mb4create database xhh default character set utf8mb4 collate utf8mb4_unicode_ci;use xhh;create user 'xhh'@'localhost' identified by 'xhh';grant all privileges on xhh.* to 'xhh'@'localhost';flush privileges;

Copyright 2021 sunfy.top ALL Rights Reserved

...

...

00:00
00:00