نقل قول نوشته اصلی توسط ali2k نمایش پست ها
تنظیمات دیتابیس را بزارید تا بگم چه تغییری بدید
خروجی دستور:
کد:
cat /etc/my.cnf
خدمت شما
کد PHP:
[root@~]# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket
=/var/lib/mysql/mysql.sock
max_connection
=1000
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
innodb_file_per_table 
1
thread_concurrency 
16
thread_cache_size 
8
myisam_sort_buffer_size 
64M
read_rnd_buffer_size 
8M
read_buffer_size 
2M
sort_buffer_size 
2M
key_buffer 
512M
big
-tables
# Settings user and group are ignored when systemd is used (fedora >= 15).
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mysqld according to the
# instructions in http://fedoraproject.org/wiki/Systemd
user=mysql
default-storage-engine InnoDB
# Semisynchronous Replication
# http://dev.mysql.com/doc/refman/5.5/en/replication-semisync.html
# uncomment next line on MASTER
;plugin-load=rpl_semi_sync_master=semisync_master.so
# uncomment next line on SLAVE
;plugin-load=rpl_semi_sync_slave=semisync_slave.so

# Others options for Semisynchronous Replication
;rpl_semi_sync_master_enabled=1
;rpl_semi_sync_master_timeout=10
;rpl_semi_sync_slave_enabled=1

# http://dev.mysql.com/doc/refman/5.5/en/performance-schema.html
;performance_schema


[mysqld_safe]
log-error=/var/log/mysqld.log
pid
-file=/var/run/mysqld/mysqld.pid