4fc54 - Posted: August Wed 30th 8:42 AM - Expires: Sat, September 30th @ 12:00am - Format: text
  1. #
  2. # The MariaDB/MySQL database server configuration file.
  3. #
  4. # You can copy this to one of:
  5. # - "/etc/mysql/my.cnf" to set global options,
  6. # - "~/.my.cnf" to set user-specific options.
  7. #
  8. # One can use all long options that the program supports.
  9. # Run program with --help to get a list of available options and with
  10. # --print-defaults to see which it would actually understand and use.
  11. #
  12. # For explanations see
  13. # http://dev.mysql.com/doc/mysql/en/server-system-variables.html
  14.  
  15. # This will be passed to all mysql clients
  16. # It has been reported that passwords should be enclosed with ticks/quotes
  17. # especially if they contain "#" chars...
  18. # Remember to edit /etc/mysql/debian.cnf when changing the socket location.
  19. [client]
  20. port            = 3306
  21. socket          = /var/run/mysqld/mysqld.sock
  22.  
  23. # Default is Latin1, WordPress needs UTF-8 (see also server section)
  24. default-character-set = utf8mb4
  25.  
  26. # Here is entries for some specific programs
  27. # The following values assume you have at least 32M ram
  28.  
  29. # This was formally known as [safe_mysqld]. Both versions are currently parsed.
  30. [mysqld_safe]
  31. socket          = /var/run/mysqld/mysqld.sock
  32. nice            = 0
  33.  
  34. [mysqld]
  35. #
  36. # * Basic Settings
  37. #
  38. user            = mysql
  39. pid-file        = /var/run/mysqld/mysqld.pid
  40. socket          = /var/run/mysqld/mysqld.sock
  41. port            = 3306
  42. basedir         = /usr
  43. datadir         = /var/lib/mysql
  44. tmpdir          = /tmp
  45. lc-messages-dir = /usr/share/mysql
  46. skip-external-locking
  47. innodb_file_per_table = 1
  48. #
  49. # Instead of skip-networking the default is now to listen only on
  50. # localhost which is more compatible and is not less secure.
  51. bind-address            = 0.0.0.0
  52. #
  53. # * Fine Tuning
  54. #
  55. max_allowed_packet      = 128M
  56. #
  57. # * Logging and Replication
  58. #
  59. # Both location gets rotated by the cronjob.
  60. # Be aware that this log type is a performance killer.
  61. # As of 5.1 you can enable the log at runtime!
  62. general_log_file        = /srv/log/mysql/mysql.log
  63. general_log             = 1
  64. #
  65. # Error log - should be very few entries.
  66. #
  67. log_error = /srv/log/mysql/error.log
  68. #
  69. # Here you can see queries with especially long duration
  70. log_slow_queries        = /var/log/mysql/mysql-slow.log
  71. long_query_time = 2
  72. log-queries-not-using-indexes
  73. query_cache_size = 104857600
  74. query_cache_type = 1
  75. query_cache_limit = 1048576
  76.  
  77. #
  78. # * Character sets
  79. #
  80. # MySQL/MariaDB default is Latin1, but in Debian we rather default to the full
  81. # utf8 4-byte character set. See also client.cnf
  82. #
  83. character-set-server  = utf8mb4
  84. collation-server      = utf8mb4_general_ci
  85.  
  86. [mysqldump]
  87. quick
  88. quote-names
  89. max_allowed_packet      = 128M
  90.  
  91. [mysql]
  92. #no-auto-rehash # faster start of mysql but no tab completion
  93.  
  94. # Default is Latin1, WordPress needs UTF-8 (see also server section)
  95. default-character-set = utf8mb4
  96.  
  97. [isamchk]
  98.  
  99.  
  100. #
  101. # * IMPORTANT: Additional settings that can override those from this file!
  102. #   The files must end with '.cnf', otherwise they'll be ignored.
  103. #
  104. !includedir /etc/mysql/conf.d/
  105.  
  106.  
  107. #innodb_force_recovery=6
  108. #innodb_purge_threads=0

Enter new version of [ 4fc54 ] :

Paste Options:

Recent Pastes:

14 days ago

a7682

27 days ago

4fc54

185 days ago

10819

207 days ago

HOW_TO_HACK_FH2.txt

221 days ago

md5

223 days ago

a78a0

230 days ago

4d8a6

260 days ago

3b92e

1230 days ago

intro