Beruflich Dokumente
Kultur Dokumente
#
#
#
#
#
#
#
#
#
#
#
#
=
=
=
=
=
=
=
=
=
mysql
/var/lib/mysql/mysqld.pid
/var/lib/mysql/mysqld.sock
3306
/usr
/home/lib/mysql
/var/lib/mysql
/tmp
/usr/share/mysql/english
#
# * Fine Tuning
#
#key_buffer
= 1G
#index block buffered in memory reduce disk access (Use for MyIsam)
key_buffer_size
= 128M
#thread_concurrency
= number of CPU core*2
thread_concurrency
= 16
connect_timeout
= 2000
max_connect_errors
= 10000
lock_wait_timeout
= 100
#
# * Query Cache Configuration
#
query_cache_type
= 1
# store frequently used query result in memory
query_cache_size
= 16M
query_cache_limit
= 32M
#
# * global
#
max_heap_table_size
tmp_table_size
= 256M
= 256M
max_connections
open-files-limit
= 2500
= 20480
interactive_timeou
#
# * innodb Fine Tuning
#
default-storage-engine
= innodb
innodb_buffer_pool_size
= 4G
innodb_log_file_size
= 512M
innodb_use_native_aio
= 0
# Buffer held before writing changes to innodb log file
innodb_log_buffer_size
= 512M
innodb_write_io_threads
= 32
innodb_read_io_threads
= 32
#innodb_io_capactity
= 2000
innodb_buffer_pool_instances
= 8
# innodb_flush_log_at_trx_commit makes the slave slower, so disabling it
#innodb_flush_log_at_trx_commit = 2
innodb_file_per_table
= 1
# per thread (Not required)
# Threads for Mysql will be cached for reuse
thread_cache_size
= 20
join_buffer_size
= 512K
#sort_buffer_size
= 1K
#read_buffer_size
= 128K
#read_rnd_buffer_size = 2M
#
# * Logging and Replication
#
# Both location gets rotated by the cronjob.
# Be aware that this log type is a performance killer.
# As of 5.1 you can enable the log at runtime!
#general_log_file
= /var/log/mysql/mysql.log
#general_log
= 1
#
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
replicate-do-table
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
galore.galore_prize_details
galore.galore_prize_option
galore.galore_question_answer_t
galore.galore_questions
galore.galore_referral_detail
galore.galore_rule_action
galore.galore_rule_message
galore.galore_running_daemons
galore.galore_score_t
galore.galore_scratchcodes
galore.galore_set_details
galore.galore_sms_config
galore.galore_sms_details
galore.galore_stats_t
galore.galore_subscriber_lock
galore.galore_subscriber_performance_t
galore.galore_subscriber_prize
galore.galore_subscriber_questions_t
galore.galore_subscriber_t
galore.galore_subscription_detail
galore.galore_user_info_t
galore.galore_zones
galore.gprs_mobile_prefix
galore.hibernate_unique_key
galore.loyalty_sms_config
galore.mmp_sms_table
galore.monitoring_tasks
galore.monitoring_transactions
galore.subscriber_loyalty
galore.subscriber_loyalty_slabs
galore.subscriber_loyalty_transaction
galore.subscriber_registration
#
# * Slave Configuration
#
#
# * Slave Skip error code list (1396 is for create user error, 1049 is when you
try to use different databse using the specified replication database query)
# * 1062 for duplicate entry error into subscriber related table
# * 1452 foriegn key constrain
# * 1205 Error 'Lock wait timeout exceeded; try restarting transaction' on query
.
slave_skip_errors=1396,1049,1205,1062
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
# This will be passed to all mysql clients
# It has been reported that passwords should be enclosed with ticks/quotes
# escpecially if they contain "#" chars...
# Remember to edit /etc/mysql/debian.cnf when changing the socket location.
[client]
port
= 3306
socket
= /var/lib/mysql/mysqld.sock
#
# This group is read both both by the client and the server