[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

set-variable=long_query_time=2
log-slow-queries=/var/log/mysql/log-slow-queries.log

#log=/var/log/mysql/mysqld.log
# Log all queries

# log-bin = /var/log/mysql/mysqlLOGb.log
# The binary log contains all statements that update data or potentially could have updated it (for example, a DELETE which matched no rows). Statements are stored in the form of events that describe the modifications. The binary log also contains informatio n about how long each statement took that updated data. The binary log is not used for statements such as SELECT or SHOW that do not modify data. If you want to log all statements (for example, to identify a problem query), use the general query log


[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
err-log=/var/log/mysql/mysqld.log
#Error log must be used with safe mode. Don't put it in section above, it causes MySQL to fail when starting.
pid-file=/var/run/mysqld/mysqld.pid