随笔分类 -  mysql

摘要:Connections,试图连接到(不管是否成功)MySQL服务器的连接数。Max_used_connections,服务器启动后已经同时使用的连接的最大数量。Threads_connected,当前的连接数。max_connections,最大连接数。processlist,显示当前正在执行的My 阅读全文
posted @ 2017-01-25 14:25 lifeinearth 阅读(170) 评论(0) 推荐(0)
摘要:青云后台配置:防火墙的下行规则增加端口3306 Ubuntu下: vim /etc/MySQL/my.cnf找到bind-address = 127.0.0.1注释掉:#bind-address = 127.0.0.1 或改为: bind-address = 0.0.0.0 允许任意IP访问; 或者 阅读全文
posted @ 2016-04-22 09:29 lifeinearth 阅读(350) 评论(0) 推荐(0)
摘要:FIND_IN_SET(str,strlist)函数 str 要查询的字符串 strlist 字段名 参数以”,”分隔 如 (1,2,6,8) 查询字段(strlist)中包含(str)的结果,返回结果为null或记录 参考:http://www.cnblogs.com/manongxiaobing 阅读全文
posted @ 2016-04-15 21:31 lifeinearth 阅读(162) 评论(0) 推荐(0)