[client] port=3306 socket=/tmp/mysql.sock [mysqld] datadir=/usr/local/mysql/data port=3306 server_id=1 socket=/tmp/mysql.sock log-output=file slow_query_log = 1 long_query_time = 1 slow_query_log_file = /usr/local/mysql/log/slow.log log-error = /usr/local/mysql/log/error.log binlog_format = mixed log-bin = /usr/local/mysql/log/mysql_bin