| [reply] |
hello ree,
I am not asking which method you are using.I need to know creating the many connection is better or creating a single connection(global) is better.I need
to know will it cause any data base and performance issue.
| [reply] |
Santhosh_89,
I support ping method man.
Update
Instead of connecting to the database every time when you execute the query, you connect with the database and by calling the ping method from DBI you can check the database connectivity, if the connection is alive, execute the query otherwise call the connect function and create database connection.
| [reply] |
| [reply] |