想要飞的小乌龟2022-08-04 技术文章

单纯MYSQL递归查询上下级关系

查询 id = 6 的所有父级SELECT ID.level, DATA.* FROM( SELECT @id as _id, ( SELECT @id := parent_id FROM table1 WHERE id = @id ) as _pid, @l := @l
封面
想要飞的小乌龟2022-08-04 技术文章

脚本一键搭建ACTIVEMQ

#下载脚本 wget http://yellowcong.qiniudn.com/activemq-cluster-install.sh #执行 chmod a+x activemq-cluster.sh #执行脚本 ./activemq-cluster.sh http
封面
图片放大