![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SQL
文章平均质量分 83
Cliven_
这个作者很懒,什么都没留下…
展开
-
mariadb10.8 主主同步 相互复制
的数据库,检查当前数据库主机状态,可以看到master2的biglog和位置。的数据库,检查当前数据库主机状态,可以看到master1的biglog和位置。到这里 主机2 从 主机1 的复制已经完成,接下来以同样的方式配置 主机1。到这里 主机1 从 主机2 的复制已经完成,两个数据库已经可以相互复制。host2从host1同步的数据,配置host1的IP和同步用户。host1从host2同步的数据,配置host2的IP和同步用户。的数据库,创建专用于数据库同步的用户。配置文件加入以下内容。原创 2022-11-17 11:28:27 · 1122 阅读 · 1 评论 -
zorm 达梦适配问题
使用zorm适配达梦数据库驱动程序问题安装go get gitee.com/chunanyong/dm配置驱动import ( "fmt" _ "gitee.com/chunanyong/dm" "gitee.com/chunanyong/zorm" "strings")// Conn MySQL数据库连接func Conn(username, password, addr string) (*zorm.DBDao, error) { dsn := fmt.Sprintf(原创 2022-03-09 08:07:53 · 1577 阅读 · 0 评论 -
Mybatis plus 多表联查字段名重复处理 Column 'xxxx' in where clause is ambiguous
问题描述由以下表foo、和barfoobar-- ------------------------------ Table structure for bar-- ----------------------------DROP TABLE IF EXISTS `bar`;CREATE TABLE `bar` ( `id` int(11) NOT NULL AUTO_...原创 2019-10-17 13:54:41 · 4367 阅读 · 0 评论