centos定时备份mysql数据库
摘要:1、修改mysql配置文件 vim /etc/my.cnf 加入以下代码 [mysqldump] user=your_backup_user_name password=your_backup_password 2、写备份脚本 cd /root vim backup.sh #!/bin/bash #
阅读全文
posted @
2021-02-26 16:49
田坤坤
阅读(238)
推荐(0) 编辑
Mybatis 自己写字段映射时 jdbcType 类型
摘要:/** * Identifies the generic SQL type {@code BIT}. */BIT(Types.BIT),/** * Identifies the generic SQL type {@code TINYINT}. */TINYINT(Types.TINYINT),/*
阅读全文
posted @
2021-02-03 11:14
田坤坤
阅读(340)
推荐(0) 编辑