原有的生产系统的my.cnf配置如下:[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
server-id=1
log_bin=/var/log/mysql/log_bin
binlog-do-db=aa
#server-id=2
#master-host=10.0.4.246
#master-user=rep
#master-password=rep
#master-port=3306
#master-connect-retry=120
#read-only=1
#relay-log-purge=1
#replicate-do-db=aa
#slave-skip-errors=all
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid为解决ERROR 1206 (HY000): The total number of locks exceeds the lock table size增加innodb_buffer_pool_size参数的值我在上面的配置加入如下 
innodb_data_home_dir=/var/lib/mysql/
default-table-type=INNODB
#OS: tuning
table_cache = 1024
key_buffer = 256M
record_buffer = 16M
wait_timeout=800
connect_timeout=25
interactive_timeout=800
max_connections=500
sort_buffer = 128M
innodb_log_file_size = 50M
innodb_log_buffer_size = 8M
innodb_buffer_pool_size = 130MB
innodb_thread_concurrency=50
innodb_flush_method=O_DSYNC
innodb_status_file = 1
innodb_flush_log_at_trx_commit = 0
innodb_autoextend_increment = 25M
skip-external-locking
innodb_table_locks=0
但是mysql链接总是说找不到 /var/lib/mysql/mysql.sock在mysqld.log里记载如下错误nnoDB: Started; log sequence number 0 4838412
100903 12:02:04 [Warning] Neither --relay-log nor --relay-log-index were used; so replication may break when this MySQL server acts as a slave and has his hostname changed!! Please use '--relay-log=mysqld-relay-bin' to avoid this problem.
100903 12:02:04 [ERROR] Failed to open the relay log '/var/run/mysqld/mysqld-relay-bin.000002' (relay_log_pos 98)
100903 12:02:04 [ERROR] Could not find target log during relay log initialization
100903 12:02:05 [ERROR] Failed to initialize the master info structure
100903 12:02:05 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.77' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
100903 12:03:38 mysqld started
100903 12:03:38 [Warning] option 'innodb_autoextend_increment': unsigned value 26214400 adjusted to 1000
InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 52428800 bytes!
100903 12:07:47 [ERROR] Default storage engine (InnoDB) is not available
100903 12:07:47 [ERROR] Aborting请问该如何增加innodb_buffer_pool_size参数的值 (最好不至于导出数据再倒入数据,当前有多个库运行,ibdata1的大小有2g多)