Advertisement
Guest User

Ubuntu LAMP my.cnf for Drupal

a guest
Oct 9th, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. [client]
  2. port = 3306
  3. socket = /var/run/mysqld/mysqld.sock
  4.  
  5. [mysqld_safe]
  6. socket = /var/run/mysqld/mysqld.sock
  7. nice = 0
  8.  
  9. [mysqld]
  10. user = mysql
  11. pid-file = /var/run/mysqld/mysqld.pid
  12. socket = /var/run/mysqld/mysqld.sock
  13. port = 3306
  14. basedir = /usr
  15. datadir = /var/lib/mysql
  16. tmpdir = /tmp
  17. lc-messages-dir = /usr/share/mysql
  18. skip-external-locking
  19. #innodb_force_recovery = 3
  20. bind-address = 127.0.0.1
  21. #bind-address = 188.226.137.130
  22. server-id = 1
  23. log=/tmp/mysql.log
  24.  
  25. max_allowed_packet = 1M
  26.  
  27. key_buffer = 16M
  28. thread_stack = 192K
  29. thread_cache_size = 1
  30. #thread_cache_size = 8
  31. myisam-recover = BACKUP
  32. max_connections = 50
  33. max_user_connections = 10
  34. query_cache_limit = 1M
  35. query_cache_size = 16M
  36.  
  37. # from my-small.cnf
  38.  
  39.  
  40.  
  41. log_error = /var/log/mysql/error.log
  42. #expire_logs_days = 4
  43. #max_binlog_size = 5M
  44.  
  45. innodb_buffer_pool_size = 16M
  46.  
  47. [mysqldump]
  48. quick
  49. quote-names
  50. max_allowed_packet = 16M
  51.  
  52. [mysql]
  53. no-auto-rehash
  54.  
  55.  
  56. [isamchk]
  57. key_buffer = 16M
  58.  
  59.  
  60. [myisamchk]
  61. #key_buffer_size = 8M
  62. #sort_buffer_size = 8M
  63.  
  64.  
  65. #
  66. # * IMPORTANT: Additional settings that can override those from this file!
  67. # The files must end with '.cnf', otherwise they'll be ignored.
  68. #
  69. !includedir /etc/mysql/conf.d/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement