Guest User

Untitled

a guest
Jul 21st, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. # Generated by Percona Configuration Wizard (http://tools.percona.com/) version REL5-20120208
  2. # Configuration name NAME generated for NAME at 2018-07-21 20:49:46
  3.  
  4. [mysql]
  5.  
  6. # CLIENT #
  7. port = 3306
  8. socket = /var/lib/mysql/mysql.sock
  9.  
  10. [mysqld]
  11.  
  12. # GENERAL #
  13. user = mysql
  14. default-storage-engine = InnoDB
  15. socket = /var/lib/mysql/mysql.sock
  16. pid-file = /var/lib/mysql/mysql.pid
  17.  
  18. # MyISAM #
  19. key-buffer-size = 32M
  20. myisam-recover-options = FORCE,BACKUP
  21.  
  22. # SAFETY #
  23. max-allowed-packet = 16M
  24. max-connect-errors = 1000000
  25. skip-name-resolve
  26. sql-mode = STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY
  27. sysdate-is-now = 1
  28. innodb = FORCE
  29.  
  30. # DATA STORAGE #
  31. datadir = /var/lib/mysql/
  32.  
  33. # BINARY LOGGING #
  34. log-bin = /var/lib/mysql/mysql-bin
  35. expire-logs-days = 14
  36. sync-binlog = 1
  37.  
  38. # CACHES AND LIMITS #
  39. tmp-table-size = 32M
  40. max-heap-table-size = 32M
  41. query-cache-type = 0
  42. query-cache-size = 0
  43. max-connections = 500
  44. thread-cache-size = 50
  45. open-files-limit = 65535
  46. table-definition-cache = 4096
  47. table-open-cache = 4096
  48.  
  49. # INNODB #
  50. innodb-flush-method = O_DIRECT
  51. innodb-log-files-in-group = 2
  52. innodb-log-file-size = 64M
  53. innodb-flush-log-at-trx-commit = 1
  54. innodb-file-per-table = 1
  55. innodb-buffer-pool-size = 592M
  56.  
  57. # LOGGING #
  58. log-error = /var/lib/mysql/mysql-error.log
  59. log-queries-not-using-indexes = 1
  60. slow-query-log = 1
  61. slow-query-log-file = /var/lib/mysql/mysql-slow.log
  62.  
  63. [mysqld]
  64. user = mysql
  65. pid-file = /var/run/mysqld/mysqld.pid
  66. socket = /var/run/mysqld/mysqld.sock
  67. port = 3306
  68. basedir = /usr
  69. datadir = /var/lib/mysql
  70. tmpdir = /tmp
  71. lc-messages-dir = /usr/share/mysql
  72. explicit_defaults_for_timestamp
  73.  
  74. log-error = /var/log/mysql/error.log
  75.  
  76. # Recommended in standard MySQL setup
  77. sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_ALL_TABLES
  78.  
  79. # Disabling symbolic-links is recommended to prevent assorted security risks
  80. symbolic-links=0
Add Comment
Please, Sign In to add comment