LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 812|回复: 1

开启InnoDB engine 后,mysql4.1-max无法启动

[复制链接]
发表于 2003-5-29 08:11:45 | 显示全部楼层 |阅读模式
原来启动正常,修改/etc/my.cnf,将关于InnoDB的条款前注释去掉
用./bin/mysqld_safe --user=root &启动不起来了,怎么回事
my.cnf中关于InnoDB的配置如下
# Uncomment the following if you are using InnoDB tables
innodb_data_home_dir = /usr/local/mysql/date/
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = /usr/local/mysql/date/
innodb_log_arch_dir = /usr/local/mysql/date/
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
set-variable = innodb_buffer_pool_size=16M
set-variable = innodb_additional_mem_pool_size=2M
# Set .._log_file_size to 25 % of buffer pool size
set-variable = innodb_log_file_size=5M
set-variable = innodb_log_buffer_size=8M
innodb_flush_log_at_trx_commit=1
set-variable = innodb_lock_wait_timeout=50

另mysql的log文件在什么地方
 楼主| 发表于 2003-5-29 18:45:08 | 显示全部楼层
问题解决了,data错写成date了,555
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表