Paste #128162

   
pasted on 17.10.2019 10:54
  • Edit to this paste
  • Print
  • Raw
  • The following pastes replied to this paste:  # 205405 # 244094 # 275419
  • Show paste tree
  • Compare with paste
    #  
  • Toggle line numbers
  • Syntax highlighting  
Text paste
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# /etc/mysql/50-distro-server.cnf: The global mysql configuration file.

# add a section [mysqld-4.1] or [mysqld-5.0] for specific configurations
[mysqld]
character-set-server				= utf8
user						= mysql
port						= 3306
socket						= /var/run/mysqld/mysqld.sock
pid-file					= /var/run/mysqld/mysql.pid
log-error					= /var/log/mysql/mysqld.err
basedir						= /usr
innodb_file_per_table				= 1
#      datadir						= /var/lib/mysql
datadir                                          = /mnt/d4tb/mysql
# azsx
innodb_buffer_pool_size				= 2G
innodb_log_file_size				= 512M
innodb_flush_log_at_trx_commit			= 2

skip-external-locking
lc_messages_dir					= /usr/share/mysql
#Set this to your desired error message language
lc_messages					= en_US

# security:
# using "localhost" in connects uses sockets by default
# skip-networking
# bind-address					= 127.0.0.1

log-bin
server-id					= 1

# point the following paths to different dedicated disks
tmpdir						= /tmp/
#log-update					= /path-to-dedicated-directory/hostname
Add Comment
Author