• ADADADADAD

    Check connection related issue of mysql[ mysql数据库 ]

    mysql数据库 时间:2024-12-24 19:10:31

    作者:文/会员上传

    简介:

    Check connection issue of mysql#show connection configurationshow variables like '%max_connection%';#Change the limitation of max_connection temporarily

    以下为本文的正文内容,内容仅供参考!本站为公益性网站,复制本文以及下载DOC文档全部免费。

    Check connection issue of mysql

    #show connection configuration
    show variables like '%max_connection%';

    #Change the limitation of max_connection temporarily
    set global max_connections=600;

    #check current status
    status;

    #check how many processes running
    show processlist;

    #Kill the locked connections
    for id in `mysqladmin processlist | grep -i locked | awk '{print $1}'`
    do
    mysqladmin kill ${id}
    done

    #Run killing sql

    source kill_thread_id.sql

    Check connection related issue of mysql.docx

    将本文的Word文档下载到电脑

    推荐度:

    下载
    热门标签: checkissueconnection