Persistent Connection MySQL
Posted: Tue Nov 25, 2014 11:37 am
Hi.
Currently, sql.em module provides the use of the MySQL database. However, it is always necessary to connect and in the end of the routine it closes the connection when we run the same script N times.
A suggestion would be to use the mysqli_connect () so that persistent connection and avoid establishing new connections.
Regards,
Skinny.
Currently, sql.em module provides the use of the MySQL database. However, it is always necessary to connect and in the end of the routine it closes the connection when we run the same script N times.
A suggestion would be to use the mysqli_connect () so that persistent connection and avoid establishing new connections.
Regards,
Skinny.