mysql出错:SQLSTATE[HY000]: General error: 2006 MySQL server has gone away 2022-03-28 mysql4yop发表留言 php常驻脚本,出现的; 1.可以定时重启脚本; 2.设置时间长些 SET SESSION wait_timeout=65535 3.定时查询 4.断开重连 mysql执行 : 来查看超时时间
navicat连接数据库出现 :Host ‘gateway’ is not allowed to connect to this MySQL server 2022-02-09 mysql4yop发表留言
MyCAT 2022-01-29 MYCAT、mysql4yop发表留言 mycat:数据库中间层 作用:实现分库分表,读写分离,集群等 限制: server.xml配置 配置属性 值 说明 影响,优化 frontWriteQueueSize 1024 队列大小 chars…
使用sql语句查询某一年每个月的订单总金额 2021-12-10 mysql、PHP、开发4yop发表留言 使用sql语句查询每个月的订单总金额, 首先是order表结构: order_id(订单id) product_price(商品金额) coupon_price(优惠券金额) create_time(…
mysql 使用 group 报错 2021-07-10 mysql4yop发表留言 报错 [Err] 1055 – Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggrega…