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