tommyboyau
Programmer
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 from program start till close
- Establish new connections each time data is required?
Thanks for your help.
Tom
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 from program start till close
- Establish new connections each time data is required?
Thanks for your help.
Tom