Well I wanted to ask here to advise me the best settings for my server .. since I have seen 2 or 3 guides .. but I was enough .. if anyone can contribute best, would be grateful and to use those 24 gb and serve!
#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/serve ... ables.html
# 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/run/mysqld/mysqld.sock
# Here is entries for some specific programs
# The following values assume you have at least 32M ram
# This was formally known as [safe_mysqld]. Both versions are currently parsed.
[mysqld_safe]
socket = /var/run/mysqld/mysqld.sock
nice = 0
open-files-limit = 8192
[mysqld]
#
# * Basic Settings
#
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
language = /usr/share/mysql/english
skip-external-locking
#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = 0
# The default storage engine that will be used when create new tables when
default-storage-engine= INNODB
# Set the SQL mode to strict
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
max_connections = 800
table_cache = 3000
query_cache_size = 0
query_cache_type = 0
tmp_table_size = 64M
max_heap_table_size = 64M
memlock
thread_concurrency = 8
thread_cache_size = 200
log_slow_queries
thread_concurrency = 8
max_allowed_packet = 16M
read_buffer_size = 128K
read_rnd_buffer_size = 10M
join_buffer_size = 10M
sort_buffer_size = 10M
transaction_isolation = READ-COMMITTED
#*** MyISAM Specific options
myisam_max_sort_file_size = 1G
myisam_max_extra_sort_file_size = 1G
myisam_sort_buffer_size = 128M
key_buffer_size = 187M
# #*** INNODB Specific options ***
innodb_additional_mem_pool_size =256M
innodb_buffer_pool_size = 2048M
innodb_data_file_path = ibdata1:10M:autoextend
innodb_flush_log_at_trx_commit = 2
innodb_log_buffer_size= 16M
innodb_max_dirty_pages_pct = 90
innodb_thread_concurrency = 16
innodb_file_per_table = 1
innodb_open_files = 3000
innodb_flush_method = O_DIRECT
skip-federated
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[mysqlhotcopy]
interactive-timeout
#
# * IMPORTANT: Additional settings that can override those from this file!
# The files must end with '.cnf', otherwise they'll be ignored.
#
!includedir /etc/mysql/conf.d/
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hood-services
https://campsite.bio/utchihaamkt
Question
kadabra
Well I wanted to ask here to advise me the best settings for my server .. since I have seen 2 or 3 guides .. but I was enough .. if anyone can contribute best, would be grateful and to use those 24 gb and serve!
Dedicated:
AMD Opteron 3280
24 GB DDR3-RAM
2x 2,000 GB SATA II HDD
Unlimited traffic
Gameserver.sh
Mysql Config:
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.