Advertisement
Guest User

Untitled

a guest
May 10th, 2012
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. --- /etc/mysql/my.cnf 2011-10-29 17:59:10.000000000 +0100
  2. +++ /etc/mysql/my.cnf.dpkg-new 2012-03-30 02:42:29.000000000 +0100
  3. @@ -32,26 +32,19 @@
  4. #
  5. # * Basic Settings
  6. #
  7. -
  8. -#
  9. -# * IMPORTANT
  10. -# If you make changes to these settings and your system uses apparmor, you may
  11. -# also need to also adjust /etc/apparmor.d/usr.sbin.mysqld.
  12. -#
  13. -
  14. user = mysql
  15. +pid-file = /var/run/mysqld/mysqld.pid
  16. socket = /var/run/mysqld/mysqld.sock
  17. port = 3306
  18. basedir = /usr
  19. datadir = /var/lib/mysql
  20. tmpdir = /tmp
  21. +lc-messages-dir = /usr/share/mysql
  22. skip-external-locking
  23. #
  24. # Instead of skip-networking the default is now to listen only on
  25. # localhost which is more compatible and is not less secure.
  26. -# damian, this line seems to be problematic
  27. -# damian 2011, was recommended to comment out the line below after ubuntu upgrade problems.
  28. -#bind-address = 127.0.0.1
  29. +bind-address = 127.0.0.1
  30. #
  31. # * Fine Tuning
  32. #
  33. @@ -78,9 +71,9 @@
  34. # As of 5.1 you can enable the log at runtime!
  35. #general_log_file = /var/log/mysql/mysql.log
  36. #general_log = 1
  37. -
  38. -log_error = /var/log/mysql/error.log
  39. -
  40. +#
  41. +# Error logging goes to syslog due to /etc/mysql/conf.d/mysqld_safe_syslog.cnf.
  42. +#
  43. # Here you can see queries with especially long duration
  44. #log_slow_queries = /var/log/mysql/mysql-slow.log
  45. #long_query_time = 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement