mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
c1488c7e58
Changed errmsg -> my_errmsg (portability issue) Fixed that mysqlbinlog writes SET TIMESTAMP before all queries Fixed comments in default my.cnf files Docs/manual.texi: Updated information about character sets client/mysqladmin.c: Added missing help text client/mysqltest.c: Changed --replace to --replace_result to not conflict with SQL replace command include/my_sys.h: change errmsg -> my_errmsg (portability issue) libmysql/errmsg.c: change errmsg -> my_errmsg (portability issue) myisam/mi_cache.c: Changed seek+read to pread myisam/mi_check.c: Fix bug that caused myisamchk to be very slow under some specific error conditions myisam/mi_dynrec.c: cleanup myisam/myisamchk.c: Write out value of checksum myisam/myisamdef.h: cleanup mysql-test/r/backup.result: Fixed the case where backup caused different error messages mysql-test/r/bdb.result: Added new test case mysql-test/r/fulltext.result: Fix for new CREATE TABLE format mysql-test/t/backup.test: Use --replace_result and --send mysql-test/t/bdb.test: New test case mysql-test/t/status.test: Use --send mysys/errors.c: change errmsg -> my_errmsg (portability issue) mysys/my_error.c: change errmsg -> my_errmsg (portability issue) mysys/typelib.c: Only accept full type names sql/derror.cc: change errmsg -> my_errmsg (portability issue) sql/ha_berkeley.cc: Fixed bug when using key parts that could be NULL sql/log_event.cc: Log SET TIMESTAMP before all queries sql/mysqlbinlog.cc: Incremented version number sql/mysqld.cc: change errmsg -> my_errmsg (portability issue) Always accept --skip-gemeni, --skip-bdb and --skip-innobase sql/slave.cc: cleanup sql/sql_base.cc: cleanup sql/sql_db.cc: cleanup support-files/my-huge.cnf.sh: Remove usage of # at end of line support-files/my-large.cnf.sh: Remove usage of # at end of line support-files/my-medium.cnf.sh: Remove usage of # at end of line support-files/my-small.cnf.sh: Remove usage of # at end of line
71 lines
1.9 KiB
Bash
71 lines
1.9 KiB
Bash
# Example mysql config file for very large systems.
|
|
#
|
|
# This is for large system with memory of 1G-2G where the system runs mainly
|
|
# MySQL.
|
|
#
|
|
# You can copy this file to
|
|
# /etc/mf.cnf to set global options,
|
|
# mysql-data-dir/my.cnf to set server-specific options (in this
|
|
# installation this directory is @localstatedir@) or
|
|
# ~/.my.cnf to set user-specific options.
|
|
#
|
|
# One can in this file use all long options that the program supports.
|
|
# If you want to know which options a program support, run the program
|
|
# with --help option.
|
|
|
|
# The following options will be passed to all MySQL clients
|
|
[client]
|
|
#password = your_password
|
|
port = @MYSQL_TCP_PORT@
|
|
socket = @MYSQL_UNIX_ADDR@
|
|
|
|
# Here follows entries for some specific programs
|
|
|
|
# The MySQL server
|
|
[mysqld]
|
|
port = @MYSQL_TCP_PORT@
|
|
socket = @MYSQL_UNIX_ADDR@
|
|
skip-locking
|
|
set-variable = key_buffer=384M
|
|
set-variable = max_allowed_packet=1M
|
|
set-variable = table_cache=512
|
|
set-variable = sort_buffer=2M
|
|
set-variable = record_buffer=2M
|
|
set-variable = thread_cache=8
|
|
# Try number of CPU's*2 for thread_concurrency
|
|
set-variable = thread_concurrency=8
|
|
set-variable = myisam_sort_buffer_size=64M
|
|
log-bin
|
|
server-id = 1
|
|
|
|
# Uncomment the following if you are using BDB tables
|
|
#set-variable = bdb_cache_size=384M
|
|
#set-variable = bdb_max_lock=100000
|
|
|
|
# Point the following paths to different dedicated disks
|
|
#tmpdir = /tmp/
|
|
#log-update = /path-to-dedicated-directory/hostname
|
|
|
|
[mysqldump]
|
|
quick
|
|
set-variable = max_allowed_packet=16M
|
|
|
|
[mysql]
|
|
no-auto-rehash
|
|
# Remove the next comment character if you are not familiar with SQL
|
|
#safe-updates
|
|
|
|
[isamchk]
|
|
set-variable = key_buffer=256M
|
|
set-variable = sort_buffer=256M
|
|
set-variable = read_buffer=2M
|
|
set-variable = write_buffer=2M
|
|
|
|
[myisamchk]
|
|
set-variable = key_buffer=256M
|
|
set-variable = sort_buffer=256M
|
|
set-variable = read_buffer=2M
|
|
set-variable = write_buffer=2M
|
|
|
|
[mysqlhotcopy]
|
|
interactive-timeout
|