由 徐永久 发表于 2004年07月20日 13:29。
在 Windows 平台下,用 mysqld –help 查看帮助,可以看到很多 MySQL 的配置参数。贴出来,以后在 Windows 平台下安装可以参考。
mysqld Ver 4.0.20a-debug-log for Win95/Win98 on i32 (Source distribution)
Copyright (C) 2000 MySQL AB, by Monty and others
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Starts the MySQL database server
Usage: mysqld [OPTIONS]
NT and Win32 specific options:
–install Install the default service (NT)
–install-manual Install the default service started manually (NT)
–install service_name Install an optional service (NT)
–install-manual service_name Install an optional service started manually (NT)
–remove Remove the default service from the service list (NT)
–remove service_name Remove the service_name from the service list (NT)
–enable-named-pipe Only to be used for the default server (NT)
–standalone Dummy option to start as a standalone server (NT)
Default options are read from the following files in the given order:
E:\WIN2KPRO\my.ini C:\my.cnf
The following groups are read: mysqld server mysqld-4.0
The following options may be given as the first argument:
–print-defaults Print the program argument list and exit
–no-defaults Don’t read default options from any options file
–defaults-file=# Only read default options from the given file #
–defaults-extra-file=# Read this file after the global files are read
-a, –ansi Use ANSI SQL syntax instead of MySQL syntax
-b, –basedir=name Path to installation directory. All paths are usually
resolved relative to this.
–bdb-home=name Berkeley home directory
–bdb-lock-detect=name
Berkeley lock detect (DEFAULT, OLDEST, RANDOM or
YOUNGEST, # sec)
–bdb-logdir=name Berkeley DB log file directory
–bdb-no-recover Don’t try to recover Berkeley DB tables on start
–bdb-no-sync Disable synchronously flushing logs. This option is
deprecated, use –skip-sync-bdb-logs or sync-bdb-logs=0
instead
–sync-bdb-logs Synchronously flush logs. Enabled by default
–bdb-shared-data Start Berkeley DB in multi-process mode
–bdb-tmpdir=name Berkeley DB tempfile name
–sync-frm Sync .frm to disk on create. Enabled by default
–skip-bdb Don’t use berkeley db (will save memory)
–big-tables Allow big result sets by saving all temporary sets on
file (Solves most ‘table full’ errors)
–binlog-do-db=name Tells the master it should log updates for the specified
database, and exclude all others not explicitly
mentioned.
–binlog-ignore-db=name
Tells the master that updates to the given database
should not be logged tothe binary log
–bind-address=name IP address to bind to
–bootstrap Used by mysql installation scripts
–console Write error output on screen; Don’t remove the console
window on windows
–standalone Dummy option to start as a standalone program (NT)
–core-file Write core on errors
-r, –chroot=name Chroot mysqld daemon during startup.
–character-sets-dir=name
Directory where character sets are
-h, –datadir=name Path to the database root
-#, –debug[=name] Debug log.
–skip-safemalloc Don’t use the memory allocation checking
-C, –default-character-set=name
Set the default character set
–default-table-type=name
Set the default table type for tables
–delay-key-write[=name]
Type of DELAY_KEY_WRITE
–delay-key-write-for-all-tables
Don’t flush key buffers between writes for any MyISAM
table (Deprecated option, use –delay-key-write=all
instead)
–enable-locking Deprecated option, use –external-locking instead
–enable-pstack Print a symbolic stack trace on failure
-T, –exit-info[=#] Used for debugging; Use at your own risk!
–flush Flush tables to disk between SQL commands
–gdb Set up signals usable for debugging
–init-rpl-role=name
Set the replication role
–innodb_data_file_path=name
Path to individual files and their sizes
–innodb_data_home_dir=name
The common part for Innodb table spaces
–innodb_log_group_home_dir=name
Path to innodb log files.
–innodb_log_arch_dir=name
Where full logs should be archived
–innodb_log_archive[=#]
Set to 1 if you want to have logs archived
–innodb_flush_log_at_trx_commit[=#]
Set to 0 (write and flush once per second), 1 (write and
flush at each commit) or 2 (write at commit, flush once
per second)
–innodb_flush_method=name
With which method to flush data
–innodb_fast_shutdown
Speeds up server shutdown process
–innodb_max_dirty_pages_pct=#
Percentage of dirty pages allowed in bufferpool
-?, –help Display this help and exit
–init-file=name Read SQL commands from this file at startup
-l, –log[=name] Log connections and queries to file
-L, –language=name Client error messages in given language. May be given as
a full path
–local-infile Enable/disable LOAD DATA LOCAL INFILE (takes values 1|0)
–log-bin[=name] Log update queries in binary format
–log-bin-index=name
File that holds the names for last binary log files
–log-isam[=name] Log all MyISAM changes to file
–log-update[=name] Log updates to file.# where # is a unique number if not
given.
–log-slow-queries[=name]
Log slow queries to this log file. Defaults logging to
hostname-slow.log
–log-long-format Log some extra information to update log
–log-slave-updates Tells the slave to log the updates from the slave thread
to the binary log. You will need to turn it on if you
plan to daisy-chain the slaves.
–low-priority-updates
INSERT/DELETE/UPDATE has lower priority than selects
–master-host=name Master hostname or IP address for replication. If not
set, the slave thread will not be started. Note that the
setting of master-host will be ignored if there exists a
valid master.info file.
–master-user=name The username the slave thread will use for authentication
when connecting to the master. The user must have FILE
privilege. If the master user is not set, user test is
assumed. The value in master.info will take precedence if
it can be read.
–master-password=name
The password the slave thread will authenticate with when
connecting to the master. If not set, an empty password
is assumed.The value in master.info will take precedence
if it can be read.
–master-port=# The port the master is listening on. If not set, the
compiled setting of MYSQL_PORT is assumed. If you have
not tinkered with configure options, this should be 3306.
The value in master.info will take precedence if it can
be read
–master-connect-retry=#
The number of seconds the slave thread will sleep before
retrying to connect to the master in case the master goes
down or the connection is lost.
–master-retry-count=#
The number of tries the slave will make to connect to the
master before giving up.
–master-info-file=name
The location and name of the file that remembers the
master and where the I/O replication thread is in the
master’s binlogs.
–master-ssl Planned to enable the slave to connect to the master
using SSL. Does nothing yet.
–master-ssl-key[=name]
Master SSL keyfile name. Only applies if you have enabled
master-ssl. Does nothing yet.
–master-ssl-cert[=name]
Master SSL certificate file name. Only applies if you
have enabled master-ssl. Does nothing yet.
–master-ssl-capath[=name]
Master SSL CA path. Only applies if you have enabled
master-ssl. Does nothing yet.
–master-ssl-cipher[=name]
Master SSL cipher. Only applies if you have enabled
master-ssl. Does nothing yet.
–myisam-recover[=name]
Syntax: myisam-recover[=option[,option...]], where option
can be DEFAULT, BACKUP, FORCE or QUICK.
–memlock Lock mysqld in memory
–disconnect-slave-event-count=#
Option used by mysql-test for debugging and testing of
replication
–abort-slave-event-count=#
Option used by mysql-test for debugging and testing of
replication
–max-binlog-dump-events=#
Option used by mysql-test for debugging and testing of
replication
–sporadic-binlog-dump-fail
Option used by mysql-test for debugging and testing of
replication
–safemalloc-mem-limit=#
Simulate memory shortage when compiled with the
–with-debug=full option
-n, –new Use some 4.1 features and syntax (4.1 compatibility mode)
-o, –old-protocol=#
Use the old (3.20) protocol client/server protocol
–one-thread Only use one thread (for debugging under Linux)
–pid-file=name Pid file used by safe_mysqld
–log-error[=name] Log error file
-P, –port=# Port number to use for connection.
–replicate-do-db=name
Tells the slave thread to restrict replication to the
specified database. To specify more than one database,
use the directive multiple times, once for each database.
Note that this will only work if you do not use
cross-database queries such as UPDATE some_db.some_table
SET foo=’bar’ while having selected a different or no
database. If you need cross database updates to work,
make sure you have 3.23.28 or later, and use
replicate-wild-do-table=db_name.%.
–replicate-do-table=name
Tells the slave thread to restrict replication to the
specified table. To specify more than one table, use the
directive multiple times, once for each table. This will
work for cross-database updates, in contrast to
replicate-do-db.
–replicate-wild-do-table=name
Tells the slave thread to restrict replication to the
tables that match the specified wildcard pattern. To
specify more than one table, use the directive multiple
times, once for each table. This will work for
cross-database updates. Example:
replicate-wild-do-table=foo%.bar% will replicate only
updates to tables in all databases that start with foo
and whose table names start with bar
–replicate-ignore-db=name
Tells the slave thread to not replicate to the specified
database. To specify more than one database to ignore,
use the directive multiple times, once for each database.
This option will not work if you use cross database
updates. If you need cross database updates to work, make
sure you have 3.23.28 or later, and use
replicate-wild-ignore-table=db_name.%.
–replicate-ignore-table=name
Tells the slave thread to not replicate to the specified
table. To specify more than one table to ignore, use the
directive multiple times, once for each table. This will
work for cross-datbase updates, in contrast to
replicate-ignore-db.
–replicate-wild-ignore-table=name
Tells the slave thread to not replicate to the tables
that match the given wildcard pattern. To specify more
than one table to ignore, use the directive multiple
times, once for each table. This will work for
cross-database updates. Example:
replicate-wild-ignore-table=foo%.bar% will not do updates
to tables in databases that start with foo and whose
table names start with bar.
–replicate-rewrite-db=name
Updates to a database with a different name than the
original. Example:
replicate-rewrite-db=master_db_name->slave_db_name
–replicate-same-server-id
In replication, if set to 1, do not skip events having
our server id. Default value is 0 (to break infinite
loops in circular replication). Can’t be set to 1 if
–log-slave-updates is used.
–report-host=name Hostname or IP of the slave to be reported to to the
master during slave registration. Will appear in the
output of SHOW SLAVE HOSTS. Leave unset if you do not
want the slave to register itself with the master. Note
that it is not sufficient for the master to simply read
the IP of the slave off the socket once the slave
connects. Due to NAT and other routing issues, that IP
may not be valid for connecting to the slave from the
master or other hosts.
–report-user=name Undocumented
–report-password=name
Undocumented
–report-port=# Port for connecting to slave reported to the master
during slave registration. Set it only if the slave is
listening on a non-default port or if you have a special
tunnel from the master or other clients to the slave. If
not sure, leave this option unset.
–rpl-recovery-rank=#
Undocumented
–relay-log=name The location and name to use for relay logs
–relay-log-index=name
The location and name to use for the file that keeps a
list of the last relay logs
–safe-mode Skip some optimize stages (for testing).
–safe-show-database
Deprecated option; One should use GRANT SHOW DATABASES
instead…
–safe-user-create Don’t allow new user creation by the user who has no
write privileges to the mysql.user table
–server-id=# Uniquely identifies the server instance in the community
of replication partners
-O, –set-variable=name
Change the value of a variable. Please note that this
option is deprecated;you can set variables directly with
–variable-name=value.
–show-slave-auth-info
Show user and password in SHOW SLAVE HOSTS on this master
–concurrent-insert Use concurrent insert with MyISAM. Disable with prefix
–skip-
–skip-grant-tables Start without grant tables. This gives all users FULL
ACCESS to all tables!
–skip-innodb Don’t use Innodb (will save memory)
–skip-locking Deprecated option, use –skip-external-locking instead
–skip-host-cache Don’t cache host names
–skip-name-resolve Don’t resolve hostnames. All hostnames are IP’s or
‘localhost’
–skip-networking Don’t allow connection with TCP/IP.
–skip-new Don’t use new, possible wrong routines.
–skip-show-database
Don’t allow ‘SHOW DATABASE’ commands
–skip-slave-start If set, slave is not autostarted.
–skip-stack-trace Don’t print a stack trace on failure
–skip-symlink Don’t allow symlinking of tables. Deprecated option. Use
–skip-symbolic-links instead
–skip-thread-priority
Don’t give threads different priorities.
–relay-log-info-file=name
The location and name of the file that remembers where
the SQL replication thread is in the relay logs
–slave-load-tmpdir=name
The location where the slave should put its temporary
files when replicating a LOAD DATA INFILE command
–slave-skip-errors=name
Tells the slave thread to continue replication when a
query returns an error from the provided list
–socket=name Socket file to use for connection
–sql-bin-update-same
If set, setting SQL_LOG_BIN to a value will automatically
set SQL_LOG_UPDATE to the same value and vice versa.
–sql-mode=name Syntax: sql-mode=option[,option[,option...]] where option
can be one of: REAL_AS_FLOAT, PIPES_AS_CONCAT,
ANSI_QUOTES, IGNORE_SPACE, SERIALIZE, ONLY_FULL_GROUP_BY,
NO_UNSIGNED_SUBTRACTION.
–temp-pool Using this option will cause most temporary files created
to use a small set of names, rather than a unique name
for each new file.
-t, –tmpdir=name Path for temporary files
–transaction-isolation=name
Default transaction isolation level
–external-locking Use system (external) locking. With this option enabled
you can run myisamchk to test (not repair) tables while
the MySQL server is running
-s, –use-symbolic-links
Enable symbolic link support. Deprecated option; Use
–symbolic-links instead
-s, –symbolic-links
Enable symbolic link support
-u, –user=name Run mysqld daemon as user
-V, –version Output version information and exit
-v, –version Synonym for option -v
-W, –log-warnings Log some not critical warnings to the log file
-W, –warnings Deprecated ; Use –log-warnings instead
–back_log=# The number of outstanding connection requests MySQL can
have. This comes into play when the main MySQL thread
gets very many connection requests in a very short time.
–bdb_cache_size=# The buffer that is allocated to cache index and rows for
BDB tables.
–bdb_log_buffer_size=#
The buffer that is allocated to cache index and rows for
BDB tables.
–bdb_max_lock=# The maximum number of locks you can have active on a BDB
table.
–bdb_lock_max=# Synonym for bdb_max_lock
–binlog_cache_size=#
The size of the cache to hold the SQL statements for the
binary log during a transaction. If you often use big,
multi-statement transactions you can increase this to get
more performance.
–connect_timeout=# The number of seconds the mysqld server is waiting for a
connect packet before responding with Bad handshake
–delayed_insert_timeout=#
How long a INSERT DELAYED thread should wait for INSERT
statements before terminating.
–delayed_insert_limit=#
After inserting delayed_insert_limit rows, the INSERT
DELAYED handler will check if there are any SELECT
statements pending. If so, it allows these to execute
before continuing.
–delayed_queue_size=#
What size queue (in rows) should be allocated for
handling INSERT DELAYED. If the queue becomes full, any
client that does INSERT DELAYED will wait until there is
room in the queue again.
–flush_time=# A dedicated thread is created to flush all tables at the
given interval.
–ft_min_word_len=# The minimum length of the word to be included in a
FULLTEXT index. Note: FULLTEXT indexes must be rebuilt
after changing this variable.
–ft_max_word_len=# The maximum length of the word to be included in a
FULLTEXT index. Note: FULLTEXT indexes must be rebuilt
after changing this variable.
–ft_max_word_len_for_sort=#
The maximum length of the word for repair_by_sorting.
Longer words are included the slow way. The lower this
value, the more words will be put in one sort bucket.
–ft_stopword_file=name
Use stopwords from this file instead of built-in list.
–innodb_mirrored_log_groups=#
Number of identical copies of log groups we keep for the
database. Currently this should be set to 1.
–innodb_log_files_in_group=#
Number of log files in the log group. InnoDB writes to
the files in a circular fashion. Value 3 is recommended
here.
–innodb_log_file_size=#
Size of each log file in a log group in megabytes.
–innodb_log_buffer_size=#
The size of the buffer which InnoDB uses to write log to
the log files on disk.
–innodb_buffer_pool_size=#
The size of the memory buffer InnoDB uses to cache data
and indexes of its tables.
–innodb_additional_mem_pool_size=#
Size of a memory pool InnoDB uses to store data
dictionary information and other internal data
structures.
–innodb_file_io_threads=#
Number of file I/O threads in InnoDB.
–innodb_lock_wait_timeout=#
Timeout in seconds an InnoDB transaction may wait for a
lock before being rolled back.
–innodb_thread_concurrency=#
Helps in performance tuning in heavily concurrent
environments.
–innodb_force_recovery=#
Helps to save your data in case the disk image of the
database becomes corrupt.
–interactive_timeout=#
The number of seconds the server waits for activity on an
interactive connection before closing it.
–join_buffer_size=#
The size of the buffer that is used for full joins.
–key_buffer_size=# The size of the buffer used for index blocks. Increase
this to get better index handling (for all reads and
multiple writes) to as much as you can afford; 64M on a
256M machine that mainly runs MySQL is quite common.
–long_query_time=# Log all queries that have taken more than long_query_time
seconds to execute to file.
–lower_case_table_names[=#]
If set to 1 table names are stored in lowercase on disk
and table names will be case-insensitive. Should be set
to 2 if you are using a case insensitive file system
–max_allowed_packet=#
Max packetlength to send/receive from to server.
–max_binlog_cache_size=#
Can be used to restrict the total size used to cache a
multi-transaction query.
–max_binlog_size=# Binary log will be rotated automatically when the size
exceeds this value. Will also apply to relay logs if
max_relay_log_size is 0. The minimum value for this
variable is 4096.
–max_connections=# The number of simultaneous clients allowed.
–max_connect_errors=#
If there is more than this number of interrupted
connections from a host this host will be blocked from
further connections.
–max_delayed_threads=#
Don’t start more than this number of threads to handle
INSERT DELAYED statements. If set to zero, which means
INSERT DELAYED is not used.
–max_heap_table_size=#
Don’t allow creation of heap tables bigger than this.
–max_join_size=# Joins that are probably going to read more than
max_join_size records return an error.
–max_relay_log_size=#
If non-zero: relay log will be rotated automatically when
the size exceeds this value; if zero (the default): when
the size exceeds max_binlog_size. 0 expected, the minimum
value for this variable is 4096.
–max_seeks_for_key=#
Limit assumed max number of seeks when looking up rows
based on a key
–max_sort_length=# The number of bytes to use when sorting BLOB or TEXT
values (only the first max_sort_length bytes of each
value are used; the rest are ignored).
–max_tmp_tables=# Maximum number of temporary tables a client can keep open
at a time.
–max_user_connections=#
The maximum number of active connections for a single
user (0 = no limit).
–max_write_lock_count=#
After this many write locks, allow some read locks to run
in between.
–bulk_insert_buffer_size=#
Size of tree cache used in bulk insert optimisation. Note
that this is a limit per thread!
–myisam_block_size=#
Block size to be used for MyISAM index pages
–myisam_max_extra_sort_file_size=#
Used to help MySQL to decide when to use the slow but
safe key cache index create method
–myisam_max_sort_file_size=#
Don’t use the fast sort index method to created index if
the temporary file would get bigger than this!
–myisam_repair_threads=#
Number of threads to use when repairing MyISAM tables.
The value of 1 disables parallel repair.
–myisam_sort_buffer_size=#
The buffer that is allocated when sorting the index when
doing a REPAIR or when creating indexes with CREATE INDEX
or ALTER TABLE.
–net_buffer_length=#
Buffer length for TCP/IP and socket communication.
–net_retry_count=# If a read on a communication port is interrupted, retry
this many times before giving up.
–net_read_timeout=#
Number of seconds to wait for more data from a connection
before aborting the read.
–net_write_timeout=#
Number of seconds to wait for a block to be written to a
connection before aborting the write.
–open_files_limit=#
If this is not 0, then mysqld will use this value to
reserve file descriptors to use with setrlimit(). If this
value is 0 then mysqld will reserve max_connections*5 or
max_connections + table_cache*2 (whichever is larger)
number of files.
–query_alloc_block_size=#
Allocation block size for query parsing and execution
–query_cache_limit=#
Don’t cache results that are bigger than this.
–query_cache_size=#
The memory allocated to store results from old queries.
–query_cache_type=#
0 = OFF = Don’t cache or retrieve results. 1 = ON = Cache
all results except SELECT SQL_NO_CACHE … queries. 2 =
DEMAND = Cache only SELECT SQL_CACHE … queries.
–query_cache_wlock_invalidate
Invalidate queries in query cache on LOCK for write
–query_prealloc_size=#
Persistent buffer for query parsing and execution
–read_buffer_size=#
Each thread that does a sequential scan allocates a
buffer of this size for each table it scans. If you do
many sequential scans, you may want to increase this
value.
–read_rnd_buffer_size=#
When reading rows in sorted order after a sort, the rows
are read through this buffer to avoid a disk seeks. If
not set, then it’s set to the value of record_buffer.
–record_buffer=# Alias for read_buffer_size
–relay_log_space_limit=#
Maximum space to use for all relay logs
–slave_compressed_protocol
Use compression on master/slave protocol
–slave_net_timeout=#
Number of seconds to wait for more data from a
master/slave connection before aborting the read.
–range_alloc_block_size=#
Allocation block size for storing ranges during
optimization
–read-only Make all tables readonly, with the exception for
replication (slave) threads and users with the SUPER
privilege
–slow_launch_time=#
If creating the thread takes longer than this value (in
seconds), the Slow_launch_threads counter will be
incremented.
–sort_buffer_size=#
Each thread that needs to do a sort allocates a buffer of
this size.
–table_cache=# The number of open tables for all threads.
–thread_concurrency=#
Permits the application to give the threads system a hint
for the desired number of threads that should be run at
the same time.
–thread_cache_size=#
How many threads we should keep in a cache for reuse.
–tmp_table_size=# If an in-memory temporary table exceeds this size, MySQL
will automatically convert it to an on-disk MyISAM table.
–thread_stack=# The stack size for each thread.
–transaction_alloc_block_size=#
Allocation block size for transactions to be stored in
binary log
–transaction_prealloc_size=#
Persistent buffer for transactions to be stored in binary
log
–wait_timeout=# The number of seconds the server waits for activity on a
connection before closing it
–default-week-format=#
The default week format used by WEEK() functions.
Variables (–variable-name=value)
and boolean options {FALSE|TRUE} Value (after reading options)
——————————— —————————–
basedir e:/lamp/mysql
bdb-home (No default value)
bdb-logdir (No default value)
sync-bdb-logs TRUE
bdb-tmpdir (No default value)
sync-frm TRUE
bind-address (No default value)
console FALSE
chroot (No default value)
character-sets-dir e:\lamp\mysql\share\charsets/
datadir d:\data\mysqldbf\
debug d:t:i:O,\mysqld.trace
default-character-set latin1
enable-locking FALSE
enable-pstack FALSE
gdb FALSE
innodb_data_home_dir D:/DATA/mysqldbf/ibdata
innodb_log_group_home_dir D:/DATA/mysqldbf/
innodb_log_arch_dir D:/DATA/mysqldbf/
innodb_flush_log_at_trx_commit 1
innodb_flush_method (No default value)
innodb_fast_shutdown TRUE
innodb_max_dirty_pages_pct 90
init-file (No default value)
log (No default value)
language e:\lamp\mysql\share\english\
local-infile TRUE
log-bin (No default value)
log-bin-index (No default value)
log-isam myisam.log
log-update (No default value)
log-slow-queries slow.log
log-slave-updates FALSE
low-priority-updates FALSE
master-host (No default value)
master-user test
master-port 3306
master-connect-retry 60
master-retry-count 86400
master-info-file master.info
master-ssl FALSE
master-ssl-key (No default value)
master-ssl-cert (No default value)
master-ssl-capath (No default value)
master-ssl-cipher (No default value)
myisam-recover OFF
memlock FALSE
disconnect-slave-event-count 0
abort-slave-event-count 0
max-binlog-dump-events 0
sporadic-binlog-dump-fail FALSE
new FALSE
old-protocol 10
pid-file d:\data\mysqldbf\xuyongjiu.pid
log-error d:/temp/mysql.err
port 9999
replicate-same-server-id FALSE
report-host (No default value)
report-user (No default value)
report-password (No default value)
report-port 3306
rpl-recovery-rank 0
relay-log (No default value)
relay-log-index (No default value)
safe-user-create FALSE
server-id 2
show-slave-auth-info FALSE
concurrent-insert TRUE
skip-grant-tables TRUE
skip-slave-start FALSE
relay-log-info-file relay-log.info
slave-load-tmpdir d:\Temp\
socket d:/temp/mysql.sock
sql-bin-update-same FALSE
sql-mode OFF
temp-pool TRUE
tmpdir d:\Temp
external-locking FALSE
use-symbolic-links TRUE
symbolic-links TRUE
log-warnings TRUE
warnings TRUE
back_log 50
bdb_cache_size 8388572
bdb_log_buffer_size 0
bdb_max_lock 10000
bdb_lock_max 10000
binlog_cache_size 32768
connect_timeout 5
delayed_insert_timeout 300
delayed_insert_limit 100
delayed_queue_size 1000
flush_time 1800
ft_min_word_len 4
ft_max_word_len 254
ft_max_word_len_for_sort 20
ft_stopword_file (No default value)
innodb_mirrored_log_groups 1
innodb_log_files_in_group 3
innodb_log_file_size 209715200
innodb_log_buffer_size 8388608
innodb_buffer_pool_size 536870912
innodb_additional_mem_pool_size 20971520
innodb_file_io_threads 4
innodb_lock_wait_timeout 30
innodb_thread_concurrency 8
innodb_force_recovery 0
interactive_timeout 28800
join_buffer_size 258048
key_buffer_size 402653184
long_query_time 10
lower_case_table_names 1
max_allowed_packet 1047552
max_binlog_cache_size 4294967295
max_binlog_size 1073741824
max_connections 100
max_connect_errors 10
max_delayed_threads 20
max_heap_table_size 16777216
max_join_size 4294967295
max_relay_log_size 0
max_seeks_for_key 4294967295
max_sort_length 1024
max_tmp_tables 32
max_user_connections 0
max_write_lock_count 4294967295
bulk_insert_buffer_size 8388608
myisam_block_size 1024
myisam_max_extra_sort_file_size 268435456
myisam_max_sort_file_size 2147483647
myisam_repair_threads 1
myisam_sort_buffer_size 67108864
net_buffer_length 16384
net_retry_count 10
net_read_timeout 36000
net_write_timeout 60
open_files_limit 0
query_alloc_block_size 8192
query_cache_limit 1048576
query_cache_size 33554432
query_cache_type 1
query_cache_wlock_invalidate FALSE
query_prealloc_size 8192
read_buffer_size 4190208
read_rnd_buffer_size 262144
record_buffer 4190208
relay_log_space_limit 0
slave_compressed_protocol FALSE
slave_net_timeout 3600
range_alloc_block_size 2048
read-only FALSE
slow_launch_time 2
sort_buffer_size 2097116
table_cache 512
thread_concurrency 2
thread_cache_size 8
tmp_table_size 33554432
thread_stack 196608
transaction_alloc_block_size 8192
transaction_prealloc_size 4096
wait_timeout 28800
default-week-format 0
To see what values a running MySQL server is using, type
‘mysqladmin variables’ instead of ‘mysqld –help’.
2004-07-20 21:35
老徐
发表于
标签: 