Mysql
水流眼泪
这个作者很懒,什么都没留下…
展开
-
MySQL中EXISTS的用法
MySQL中EXISTS的用法 比如在Northwind数据库中有一个查询为 SELECT c.CustomerId,CompanyName FROM Customers c WHERE EXISTS( SELECT OrderID FROM Orders o WHERE o.CustomerID=c.CustomerID) 这里面的EXISTS是如何运作呢?子查询返回的是OrderId字段,可是...原创 2019-12-21 17:06:44 · 402 阅读 · 0 评论 -
too many connections 解决方法
too many connections 解决方法 show variables like ‘%max_connections%’; set GLOBAL max_connections=2000; show global variables like ‘wait_timeout’; set global wait_timeout=300; set global interactive_timeo...原创 2019-12-21 17:05:33 · 429 阅读 · 0 评论