mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
64 lines
1.6 KiB
Text
64 lines
1.6 KiB
Text
|
# Example mysql config file.
|
||
|
# Copy this file to c:\my.cnf to set global options
|
||
|
#
|
||
|
# One can use all long options that the program supports.
|
||
|
# Run the program with --help to get a list of available options
|
||
|
|
||
|
# This will be passed to all mysql clients
|
||
|
[client]
|
||
|
#password=my_password
|
||
|
port=3306
|
||
|
#socket=MySQL
|
||
|
|
||
|
# Here is entries for some specific programs
|
||
|
# The following values assume you have at least 32M ram
|
||
|
|
||
|
# The MySQL server
|
||
|
[mysqld]
|
||
|
port=3306
|
||
|
#socket=MySQL
|
||
|
skip-locking
|
||
|
default-character-set=latin1
|
||
|
set-variable = key_buffer=2M
|
||
|
set-variable = max_allowed_packet=1M
|
||
|
set-variable = thread_stack=128K
|
||
|
set-variable = flush_time=1800
|
||
|
|
||
|
innobase_data_home_dir = e:\ibdata\
|
||
|
innobase_data_file_path = ibdata1:25M;ibdata2:37M;ibdata3:100M;ibdata4:300M
|
||
|
set-variable = innobase_mirrored_log_groups=1
|
||
|
innobase_log_group_home_dir = e:\iblogs\
|
||
|
set-variable = innobase_log_files_in_group=3
|
||
|
set-variable = innobase_log_file_size=5M
|
||
|
set-variable = innobase_log_buffer_size=8M
|
||
|
innobase_flush_log_at_trx_commit=1
|
||
|
innobase_log_arch_dir = e:\iblogs\
|
||
|
innobase_log_archive=0
|
||
|
set-variable = innobase_buffer_pool_size=16M
|
||
|
set-variable = innobase_additional_mem_pool_size=2M
|
||
|
set-variable = innobase_file_io_threads=4
|
||
|
set-variable = innobase_lock_wait_timeout=50
|
||
|
|
||
|
|
||
|
# Uncomment the following row if you move the MySQL distribution to another
|
||
|
# location
|
||
|
#basedir = d:/mysql/
|
||
|
|
||
|
[mysqldump]
|
||
|
quick
|
||
|
set-variable = max_allowed_packet=16M
|
||
|
|
||
|
[mysql]
|
||
|
no-auto-rehash
|
||
|
|
||
|
[isamchk]
|
||
|
set-variable= key=16M
|
||
|
|
||
|
[client_fltk]
|
||
|
help_file= c:\mysql\sql_client\MySQL.help
|
||
|
client_file= c:\mysql\MySQL.options
|
||
|
history_length=20
|
||
|
database = test
|
||
|
queries_root= c:\mysql\queries
|
||
|
last_database_file= c:\mysql\lastdb
|