'MySQL connection and disconnection frequency
Is it better to open and close a new MySQL connection every time a query is made or to keep the connection open and run multiple queries in a single MySQL session?
Solution 1:[1]
To keep the connection open and run multiple queries in a single mysql session
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |