MySQL Max Connections Question

Author
Discussion

miniman

Original Poster:

25,240 posts

264 months

Thursday 29th May 2003
quotequote all
Anyone understand how to set the max_connections variable in MySQL Version 3.xx running on Win NT?

I've tried all the documented stuff, e.g. editing my.ini, using the mysqld command etc but it will not change the value.

Thanks guys!

dontlift

9,396 posts

260 months

Thursday 29th May 2003
quotequote all

Anyone understand how to set the max_connections variable in MySQL Version 3.xx running on Win NT?

I've tried all the documented stuff, e.g. editing my.ini, using the mysqld command etc but it will not change the value.

Thanks guys!



Not tried it on windows - only Linux, but will have a look at it on our 2000 box later and get back to you

PetrolTed

34,439 posts

305 months

Thursday 29th May 2003
quotequote all
What is the default setting for max connections?

rsvnigel

600 posts

268 months

Thursday 29th May 2003
quotequote all
You want to create a file (or rename on of the existing ini files to) my.cnf and stick this in the root of the C: drive.

The add the line:

set-variable = max_connections=200

miniman

Original Poster:

25,240 posts

264 months

Thursday 29th May 2003
quotequote all

rsvnigel said: You want to create a file (or rename on of the existing ini files to) my.cnf and stick this in the root of the C: drive.

The add the line:

set-variable = max_connections=200



Didn't work. I created a new my.cnf and deleted all other my.ini variations. When loading winmysqladmin, the ini file is shown with the above setting in it, but the variables list does not show the setting I made.

Any other suggestions gratefully received.

Cheers...