473,387 Members | 1,897 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Win98 - Work-around to sudden lost connection to database

Hi all,

There is a limitation on Win98 when a client app using mm.mysql driver doing
extensive queries to MySQL 3.23.x frequently encounters a connection lost
error.
Error msg is something like:

'java.lang.Exception: Cannot connect to MySQL server on localhost:3306. Is
there a MySQL server running on the machine/port you are trying to connect
to? (java.net.SocketException)'

I've found a very useful piece of info. In brief, you've got to
change/create the registry key for max concurrent TCP connections:
Pls see: http://www.proxyplus.cz/faq/articles/EN/art10002.htm

If the above URL is unavailable, here is the important part:

<snip>
Solution:
There are following articles in Microsoft Knowledge base:

Windows NT/2000:
http://support.microsoft.com/support.../Q196/2/71.ASP
Windows 95: http://support.microsoft.com/support.../Q170/7/91.ASP

Some users reported to us there is another solution for Windows 95/98/Me
which solved the problem at all. Windows 95/98/Me allows up to 100 (default
value) of concurrent TCP connections. It looks like when the number of
connection reaches the limit 10055 error is reported. The solution is to
increase the limit of simultaneous connections. You can do it by
changing/creating value of the key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\VxD\MSTCP\MaxConnection
s

If you will create the MaxConnections variable key use STRING type for it
(early Windows 95 used DWORD probably). Set the value to 300 for example,
restart the Windows and check whether 10055 problem disappeared.

There is MS Knowledge Base article which describes the meaning of MSTCP
registry entries:
http://support.microsoft.com/support.../Q158/4/74.ASP
</snip>

My 2 cts worth... I LOVE THIS GUY!
HTH,
Al.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw

Jul 19 '05 #1
0 2055

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Robert | last post by:
I found the os.popen("AT /?") way .... however it works not on Win98 and the "Day" you enter at the AT are language dependent. (e.g. Mi(ttwoch) in german, We(dnesday) in english Windows versions)...
3
by: Ron | last post by:
I've written a screen saver which opens multiple copies on windows 98. I'm trying to check the process list to determine if it is already running. So far all the example win32 routines I've...
0
by: rsine | last post by:
Is there a way for programs running on the Win98 OS to send email? I currently have programs running on XP and Win2000 that send emails but was told my code would not work on Win98 or WinNT 4.0...
2
by: jon morgan | last post by:
Hi, I need to debug my app. under Windows 98. Although VS.net can't be installed it I have been able to install both Framework 1.1 and the SDK. Can I debug the app. in VS.net remotely from an...
6
by: Andrzej | last post by:
Used to read newsgroup for answers, now have to ask for them as well. I have an application (C#, .NET 1.1) that connects to local db on MSDE 2000 SP3a (using ADO from MDAC 2.71) on one side and...
0
by: Macadair | last post by:
I develop mid-range multi-user applications for a large site. Currently Win98 and Office97 are the standards used however we are slowly moving to WinXP. Due to the site upgrade cost, we are...
5
by: VenuGopal | last post by:
Hi, My client uses Win 98. The email part does not work in Win98. I read the documentation and i find that System.Web is not supported in Win98. Now How do i send email on a win 98 platform....
4
by: Wasi Rehman | last post by:
hi friends, I have one webservice which i want to run on win98 system because some reference in that webservice only run in win98, and my ASP.net application is on win2000 pro. I want to call that...
7
by: Maravilloso | last post by:
Hi I'm trying to automatically send a postscript file to be printed to the default printer in a Win98 PC, by means of using the instrucction: win32api.ShellExecute (0, "print", "file.ps",...
2
by: billsahiker | last post by:
I have read in this group that the .net 2 framework redistributable package can be installed on win98 and it includes a vb.net command line compiler. IF this is so, what sort of debugging, if any,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.