R: Connections on Database

2008-03-31 Thread Nanni Claudio
Hi Velen,

you have to put this parameter in the [mysqld] section of .my.cnf file:

max_connections = n  # n is the number of connections desired


don't forget to restart mysql!

Aloha!

Claudio Nanni


-Messaggio originale-
Da: Velen [mailto:[EMAIL PROTECTED] 
Inviato: domenica 30 marzo 2008 15.59
A: mysql@lists.mysql.com
Oggetto: Connections on Database


Hi,

How can i limit connections to my database?

Regards,

Velen


Questo messaggio ed ogni suo allegato sono confidenziali e possono essere 
riservati o, comunque, protetti dall'essere diffusi. Se il ricevente non é il 
destinatario diretto del presente messaggio, é pregato di contattare 
l'originario mittente e di cancellare questo messaggio ed ogni suo allegato dal 
sistema di posta. Se il ricevente non é il destinatario diretto del presente 
messaggio, sono vietati l'uso, la riproduzione e la stampa di questo messaggio 
e di ogni suo allegato, nonché la diffusione del loro contenuto a qualsiasi 
altro soggetto
*
This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient, 
please contact the sender and delete this message and any attachment from your 
system. If you are not the intended recipient you must not use, copy or print 
this message or attachment or disclose the contents to any other person.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Connections on Database

2008-03-31 Thread Daniel Brown
On Sun, Mar 30, 2008 at 9:59 AM, Velen [EMAIL PROTECTED] wrote:

  Hi,

  How can i limit connections to my database?

RTFM: http://dev.mysql.com/doc/refman/5.0/en/user-resources.html

-- 
/Daniel P. Brown
Forensic Services, Senior Unix Engineer
1+ (570-) 362-0283

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Connections on Database

2008-03-31 Thread Vidal Garza

Velen escribió:

Hi,

How can i limit connections to my database?

Regards,

Velen
  

max_user_connections = 50
max_connections = 50


--

Ing. Vidal Garza Tirado
Depto. Sistemas
Aduanet S.A. de C.V.
Tel. (867)711-5850 ext. 4346, Fax (867)711-5855.
Ave. César López de Lara No. 3603 Int. B Col Jardín.
Nuevo Laredo, Tamaulipas, México. 




--
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
For all your IT requirements visit: http://www.aduanet.net


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Connections on Database

2008-03-31 Thread Eric Bergen
You probably only want max_connections and not max_user_connections.
Max_user_connections is the number of times a user can connect per
hour..

-Eric

2008/3/31 Vidal Garza [EMAIL PROTECTED]:
 Velen escribió:


  Hi,
  
   How can i limit connections to my database?
  
   Regards,
  
   Velen
  
  max_user_connections = 50
  max_connections = 50


  --
  
  Ing. Vidal Garza Tirado
  Depto. Sistemas
  Aduanet S.A. de C.V.
  Tel. (867)711-5850 ext. 4346, Fax (867)711-5855.
  Ave. César López de Lara No. 3603 Int. B Col Jardín.
  Nuevo Laredo, Tamaulipas, México.



  --
  Este mensaje ha sido analizado por MailScanner
  en busca de virus y otros contenidos peligrosos,
  y se considera que está limpio.
  For all your IT requirements visit: http://www.aduanet.net




  --
  MySQL General Mailing List
  For list archives: http://lists.mysql.com/mysql
  To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]





-- 
high performance mysql consulting.
http://provenscaling.com

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Connections on Database

2008-03-31 Thread Eric Bergen
Oops. I was wrong on that one. max_user_connections is different from
global max_connections and max_connections per user.

2008/3/31 Eric Bergen [EMAIL PROTECTED]:
 You probably only want max_connections and not max_user_connections.
  Max_user_connections is the number of times a user can connect per
  hour..

  -Eric

  2008/3/31 Vidal Garza [EMAIL PROTECTED]:


  Velen escribió:
  
  
Hi,

 How can i limit connections to my database?

 Regards,

 Velen

max_user_connections = 50
max_connections = 50
  
  
--

Ing. Vidal Garza Tirado
Depto. Sistemas
Aduanet S.A. de C.V.
Tel. (867)711-5850 ext. 4346, Fax (867)711-5855.
Ave. César López de Lara No. 3603 Int. B Col Jardín.
Nuevo Laredo, Tamaulipas, México.
  
  
  
--
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
For all your IT requirements visit: http://www.aduanet.net
  
  
  
  
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
  
  



  --
  high performance mysql consulting.
  http://provenscaling.com




-- 
high performance mysql consulting.
http://provenscaling.com

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Connections on Database

2008-03-30 Thread Velen

Hi,

How can i limit connections to my database?

Regards,

Velen

Limiting connections per database

2001-06-15 Thread Seth

Just wondering if there is a way to limit the number of connections to a
particular database without starting up another server to run that database
specifically.


-
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




Re: Limiting connections per database

2001-06-15 Thread Jeremy Zawodny

On Fri, Jun 15, 2001 at 04:22:55PM -0400, Seth wrote:

 Just wondering if there is a way to limit the number of connections
 to a particular database without starting up another server to run
 that database specifically.

This isn't exactly what you want, but you CAN limit the number of
connections a given user is allowed to have. So you could force all
the connections to use a special username.

Not ideal, but...

Jeremy
-- 
Jeremy D. Zawodny, [EMAIL PROTECTED]
Technical Yahoo - Yahoo Finance
Desk: (408) 349-7878Fax: (408) 349-5454Cell: (408) 439-9951

MySQL 3.23.29: up 1 days, processed 9,772,931 queries (83/sec. avg)

-
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




Limit mysql connections by database user?

2001-01-13 Thread Issam W. Alameh

Hello,

is there a way to limit the connection which the mysql user can do??

I have a server with 12 database users, and sometimes, one of the users
makes large number of connections because of a bulletin board he is using,
is there  a way to limit the number of connections that he can do?

Regards
Issam


-
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