Toon posts:

[MYSQL]max_connections: hoe te veranderen?

Pagina: 1
Acties:
  • 30 views sinds 30-01-2008

Verwijderd

Topicstarter
Hoe kan ik zorgen dan 'max_connections' wordt verhoogd? Ik gebruik namelijk geen my.cnf.

Ik gebruik trouwens RH met mysql 3.23.xx

  • Creepy
  • Registratie: Juni 2001
  • Laatst online: 21:00

Creepy

Tactical Espionage Splatterer

www.mysql.com, en lees daar de documentatie ff (in het kort RTFM!), en daarin staat onder andere dit:
5.5.2 Tuning Server Parameters

You can get the default buffer sizes used by the mysqld server with this command:

shell> mysqld --help

This command produces a list of all mysqld options and configurable variables. The output includes the default values and looks something like this:

Possible variables for option --set-variable (-O) are:
back_log current value: 5
bdb_cache_size current value: 1048540
binlog_cache_size current_value: 32768
...... meer opties hiero.....
max_connections current value: 100
..... meer opties hiero
En in 4.4.1 mysqld-command-line options staat ook nog:
-O, --set-variable var=option
Give a variable a value. --help lists variables. You can find a full description for all variables in the SHOW VARIABLES section in this manual. See section 4.5.6.4 SHOW VARIABLES. The tuning server parameters section includes information of how to optimise these. See section 5.5.2 Tuning Server Parameters.
de command line opties kan je ook aan safe_mysqld mee geven.

"I had a problem, I solved it with regular expressions. Now I have two problems". That's shows a lack of appreciation for regular expressions: "I know have _star_ problems" --Kevlin Henney


  • Jordi
  • Registratie: Januari 2000
  • Niet online

Jordi

#1#1

Mjah, dit had je idd (blijkbaar) zelf uit kunnen vinden :)

Het zal wel niet, maar het zou maar wel.


Dit topic is gesloten.