نقل قول نوشته اصلی توسط jahromweb نمایش پست ها
باسلام و عرض ادب

مورد ۱ و ۲ را تست کنید ببینید جواب میدهد:
https://ottomatik.groovehq.com/knowl...-dumping-table

روز خوش



تو این آدرس:
nano /etc/my.cnf

max-allowed-packet رو کردم 2 گیگ ولی باز همون ارر رو میده


کد:
[mysqld]

# GENERAL #
user                           = mysql
default-storage-engine         = InnoDB

# MyISAM #
key-buffer-size                = 32M
myisam-recover                 = FORCE,BACKUP

# SAFETY #
max-allowed-packet             = 2G
max-connect-errors             = 1000000

# BINARY LOGGING #
expire-logs-days               = 14
sync-binlog                    = 1

# CACHES AND LIMITS #
tmp-table-size                 = 32M
max-heap-table-size            = 32M
query-cache-type               = 1
query-cache-size               = 8M
max-connections                = 500
thread-cache-size              = 50
open-files-limit               = 65535
table-definition-cache         = 4096
table-open-cache               = 10240


# INNODB #
innodb-flush-method            = O_DIRECT
innodb-log-files-in-group      = 2
#innodb-log-file-size           = 128M
innodb-flush-log-at-trx-commit = 1
innodb-file-per-table          = 1
innodb-buffer-pool-size        = 2G

# LOGGING #
log-queries-not-using-indexes  = 1
slow-query-log                 = 1