MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old May 16th, 2007, 03:24 PM
punitkaur punitkaur is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2007
Posts: 1 punitkaur User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 16 sec
Reputation Power: 0
Changing MySql server settings while installation

Hi,

I have a windows application built using MFC VC++ 6.0 and using MySql as back end database. My application is multithreaded and does huge number of inserts on the database. It continuously keeps running and randomly it was throwing a run time error since the connection to the MySQL Server was being lost.

I used MySQL Administrator to adjust the connection- timeout and made it 30 sec. After that it stopped throwing that error! I do not know how it affected the issue since I make the connection only once during the start up code of the application. Once the connection is made it is never closed until the user closes the application.

However, now that I found a work around for my problem, I would like to hard code this server setting in some way, either in my C++ code or in some script that is run automatically when the customer/user installs the MySQL server, so that it doesnt have to be changed manually later.

Please give me some suggestions as soon as possible.

Thank you very much.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > Changing MySql server settings while installation


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT