PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > mysql.general > Connections on Database
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Connections on Database

Réponse
 
LinkBack Outils de la discussion
Vieux 30/03/2008, 14h59   #1
Velen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Connections on Database


Hi,

How can i limit connections to my database?

Regards,

Velen
  Réponse avec citation
Vieux 31/03/2008, 15h59   #2
Nanni Claudio
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut R: Connections on Database

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:velen@biz-mu.com]
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 suoallegato 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."
  Réponse avec citation
Vieux 31/03/2008, 16h29   #3
Daniel Brown
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Connections on Database

On Sun, Mar 30, 2008 at 9:59 AM, Velen <velen@biz-mu.com> wrote:
>
> Hi,
>
> How can i limit connections to my database?


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

--
</Daniel P. Brown>
Forensic Services, Senior Unix Engineer
1+ (570-) 362-0283
  Réponse avec citation
Vieux 31/03/2008, 18h22   #4
Vidal Garza
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Connections on Database

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

  Réponse avec citation
Vieux 31/03/2008, 19h08   #5
Eric Bergen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Connections on Database

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 <vgarza@aduanet.net>:
> 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/mysql?unsub=e...venscaling.com
>
>




--
high performance mysql consulting.
http://provenscaling.com
  Réponse avec citation
Vieux 31/03/2008, 19h13   #6
Eric Bergen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Connections on Database

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 <eric@provenscaling.com>:
> 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 <vgarza@aduanet.net>:
>
>
> > 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/mysql?unsub=e...venscaling.com
> >
> >

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




--
high performance mysql consulting.
http://provenscaling.com
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h51.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,15011 seconds with 14 queries