]> git.pld-linux.org Git - packages/mysql.git/blame_incremental - mysqld.conf
Rel 1; works for me
[packages/mysql.git] / mysqld.conf
... / ...
CommitLineData
1# The MySQL server configuration file.
2# vim:ft=mycnf
3#
4# One can use all long options that the mysqld supports.
5# Run mysqld with --help to get a whole list of available options
6
7# This section must be the first!
8[mysqld]
9datadir = @clusterdir@/mysqldb/db
10pid-file = @clusterdir@/mysqldb/mysql.pid
11socket = @clusterdir@/mysqldb/mysql.sock
12port = 3306
13user = mysql
14
15# ssl options
16#ssl-ca = /etc/ssl/certs/mysql{MYSQL_MAJOR}/ca-cert.pem
17#ssl-cert = /etc/ssl/certs/mysql{MYSQL_MAJOR}/server-cert.pem
18#ssl-key = /etc/ssl/certs/mysql{MYSQL_MAJOR}/server-key.pem
19#ssl-cipher = DHE-RSA-AES256-SHA
20
21# Don't listen on a TCP/IP port at all. This is a security enhancement,
22# if all processes that need to connect to mysqld run on the same host.
23# All interaction with mysqld must be made via Unix sockets.
24skip-networking
25
26# IP address to bind to
27#bind-address=127.0.0.1
28
29# no dns
30#skip-name-resolve
31
32# Emergency option. Use only if you really need this.
33#skip-grant-tables
34
35# https://dev.mysql.com/doc/refman/5.6/en/log-destinations.html
36# global option where logs be written
37# affects slow-query-log, general-log direcives
38# Possible values: FILE, TABLE
39# NOTE: when using table, you can switch to MyISAM, but the contents is still
40# not replicated, also mysqldump will not dump data, only create table
41# statements
42#log-output = TABLE
43log-output = FILE
44
45# mysqld error log (stderr)
46log-error = /var/log/mysql{MYSQL_MAJOR}/mysqld.log
47log-error-verbosity = 2
48
49# Log slow queries
50slow-query-log
51slow-query-log-file = /var/log/mysql{MYSQL_MAJOR}/slow.log
52
53# Log connections and queries. It slows down MySQL so it's disabled by default
54#general-log
55#general-log-file = /var/log/mysql{MYSQL_MAJOR}/query.log
56
57# Log all updates.
58#log-update = /var/log/mysql{MYSQL_MAJOR}/update
59# Log some extra information to update log
60#log-long-format
61
62# Language
63#lc-messages = pl_PL
64
65# Path for temporary files. Several paths may be specified, separated by a
66# colon (:), in this case they are used in a round-robin fashion.
67#tmpdir = /var/tmp
68
69# used for logs rotation or status check for replications
70[client]
71user = mysql_sysadmin
72password =
This page took 0.037147 seconds and 4 git commands to generate.