Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mySQL server connections - leave one open or use multiple?

Status
Not open for further replies.

tommyboyau

Programmer
Feb 7, 2005
47
0
0
AU
Hi guys,
Just a quick question here. What would be the best way to maintain a connection to a mySqlServer in an application?
Lets say this application has 10 users and would be used for 10 hours a day, retreiving and manipulation data all that time.

If i require a connection on different forms throughout the application what is the best way to do it.
- Maintain the same connection by passing it through, form to form
- Establish new connections each time?

Thanks for your help.

Tom
 
Another thought is to investigate COM+ connection pooling.

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top