04-08-2012, 11:16 PM
Под себя подредактируй только
ну и skip-name-resolve добавь, а точно тормозить будет
Цитата:#
# The MySQL database server configuration file.
#
[client]
port = 3306
socket = /var/lib/mysqld/mysqld.sock
default-character-set=utf8
[mysqld_safe]
socket = /var/lib/mysqld/mysqld.sock
nice = 0
[mysqld]
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/lib/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
skip-external-locking
query_cache_size = 32M
table_cache = 4096
thread_cache_size = 32
max_heap_table_size = 32M
tmp_table_size = 32M
innodb_buffer_pool_size = 32M
innodb_flush_log_at_trx_commit = 2
innodb_flush_method = O_DIRECT
transaction-isolation = READ-COMMITTED
default-storage-engine = myisam
bind-address = 127.0.0.1
#bind-address = localhost
key_buffer = 16M
max_allowed_packet = 16M
thread_stack = 128K
myisam-recover = BACKUP
expire_logs_days = 10
max_binlog_size = 100M
join_buffer_size = 1M
default-character-set = utf8
character-set-server = utf8
collation-server = utf8_unicode_ci
init-connect = "SET NAMES utf8"
skip-character-set-client-handshake
#skip-grant-tables
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
default-character-set = utf8
[mysql]
[isamchk]
key_buffer = 16M
ну и skip-name-resolve добавь, а точно тормозить будет