MYSQL - mysql_close() - close all connections?
#4

It is important to note that if both scripts connect to the same database with the same user and the same password then both scripts will use the same connection handle and hence mysql_close will close the connection in both scripts. This is important to note as it can obviously cause problems. This behavior can be disabled with the "duplicate connections" option.
Reply


Messages In This Thread
MYSQL - mysql_close() - close all connections? - by Adi007 - 07.07.2015, 19:08
Re: MYSQL - mysql_close() - close all connections? - by dusk - 07.07.2015, 19:14
Re: MYSQL - mysql_close() - close all connections? - by Adi007 - 07.07.2015, 19:19
Re: MYSQL - mysql_close() - close all connections? - by Vince - 07.07.2015, 20:35

Forum Jump:


Users browsing this thread: 1 Guest(s)