root python cat etc my cnf mysqld datadir var lib mysql socket var lib

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
[root@python ~]# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
key_buffer_size = 128M
query_cache_size = 132M
query_cache_limit = 4M
old_passwords=1
log_slow_queries=1
log-slow-queries=/var/log/mysqld.slow.log
[mysql.server]
user=mysql
basedir=/var/lib
[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid