Try putting a line like the following in your my.cnf file:
This has always worked for me, including 3.23.37

set-variable = max_connections=xxxx

John Barton
Unix Systems Administrator
Primary Networks, Inc.
[EMAIL PROTECTED]

On Thu, 10 May 2001, Mark Lo (3) wrote:

> Hi,
>
>      I would like to set a higher values in max_connections for mysql.
>
> I have tried to use the following command "mysqld --set-variables
> max_connections=900 -u root -ppassword".  Then, it shows that I have
> successfully changed the variable of max_connections.  But, when I check it
> with the command of "mysqladmin variables -u root -ppassword".  The
> max_connections return to 100 which is the default value.  I wonder what is
> wrong with mysql3.23.37.  Is this a bug, or I am using the wrong command.
>
> In additions, Can I set the max_connections values higher than 5000.
>
> Thank you
>
> Mark
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to