V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
lianxiaoyi
V2EX  ›  问与答

mysql State starting 这个是啥

  •  
  •   lianxiaoyi · 2018-10-30 10:03:05 +08:00 · 1545 次点击
    这是一个创建于 1976 天前的主题,其中的信息可能已经有所发展或是发生改变。

    [{"Id":"15230955","User":"xxx","Host":"xxxxx","db":"xxxxx","Command":"Execute","Time":"2","State":"starting","Info":null}]

    写了一个运行超过 2s 的 SQL 监测脚本,然后今天一直在收到这个报警,百度谷歌了好久,这个 starting 是个啥意思啊?难道是我 mysql 在不停的重启?

    3 条回复    2018-10-30 10:15:36 +08:00
    xiaoxinshiwo
        1
    xiaoxinshiwo  
       2018-10-30 10:06:31 +08:00   ❤️ 1
    没起来吧
    lianxiaoyi
        2
    lianxiaoyi  
    OP
       2018-10-30 10:10:46 +08:00
    @xiaoxinshiwo 我 APP 接口又是正常的啊。
    xiaoxinshiwo
        3
    xiaoxinshiwo  
       2018-10-30 10:15:36 +08:00
    @lianxiaoyi #2 不懂了,慢 sql 一般在配置文件配置吧,slow_query_log 和 long_query_time
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3022 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 14:41 · PVG 22:41 · LAX 07:41 · JFK 10:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.