Mysql configuration

What to put into Mysql config files …

~/.my.cnf

Layout of the ~/.my.cnf configuration file:

[client]
host     = host.domain.tld
password = secret
user     = root
socket   = /var/run/mysqld/mysqld.sock

/etc/my.cnf

Part of a Mysql 5.0 config file (character-set and collation related).

[...]

# The MySQL server
[mysqld]
init-connect='SET NAMES latin1 COLLATE latin1_german1_ci'
default-character-set=latin1
character-set-server=latin1
collation_server=latin1_german1_ci

[...]
mysql/config.txt · Last modified: 2013-11 by tb
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready