/** 在Mysql下执行: delete from my.stu where id not in( select min(id) id from my.stu group by code) ; 用途是去重复标题,但是却报错! You can't specify target table 'stu' for update in FROM clause 解决办法就是: mysql中不能这么用. (等待mysql升级吧)错误提示就是说,不能先select出同一表中的某些值,再update这个表(在同
1. 问题现象 启动 kafka 时报错:Failed to acquire lock on file .lock in /tmp/kafka-logs. A Kafka instance in another process or thread is using this directory. 2. 解决方案 2.1 方案一 删除 /tmp/kafka-logs 目录,然后重启 kafka: 2.2 方案二 修改配置的日志文件目录 在 config/server.properties 中修改