Ticket #768: my.cnf

File my.cnf, 1.3 KB (added by bchesneau@…, 21 years ago)

my.cnf

Line 
1# /etc/mysql/my.cnf: The global mysql configuration file.
2
3# This file can be simultaneously placed in three places:
4# 1. /etc/mysql/my.cnf to set global options.
5# 2. /var/lib/mysql/my.cnf to set server-specific options.
6# 3. ~/.my.cnf to set user-specific options.
7#
8# One can use all long options that the program supports.
9# Run the program with --help to get a list of them.
10#
11# The following values assume you have at least 32M RAM!
12
13[client]
14#password       = my_password
15port            = 3306
16socket          = __PREFIX/var/run/mysqld/mysqld.sock
17
18[safe_mysqld]
19err-log         = __PREFIX/var/log/mysql/mysql.err
20
21[mysqld]
22#skip-networking
23skip-innodb
24user            = mysql
25pid-file        = __PREFIX/var/run/mysqld/mysqld.pid
26socket          = __PREFIX/var/run/mysqld/mysqld.sock
27port            = 3306
28log             = __PREFIX/var/log/mysql/mysql.log
29basedir         = __PREFIX
30datadir         = __PREFIX/var/db/mysql
31tmpdir          = /tmp
32language        = __PREFIX/share/mysql/english
33skip-locking
34set-variable    = key_buffer=16M
35set-variable    = max_allowed_packet=1M
36set-variable    = thread_stack=128K
37
38[mysqldump]
39quick
40set-variable    = max_allowed_packet=1M
41
42[mysql]
43#no-auto-rehash # faster start of mysql but no tab completition
44
45[isamchk]
46set-variable    = key_buffer=16