I am a starter in Linux and am hence new to all this. Please take my noob mistakes kindly if there are any. So I am installing OTRS in Linux for which I have to change the innodb_log_file_size to 512M
So I did the following but have been unsuccessful to change the log_file_size.
logfile0 & logfile1 from cd /var/lib/mysql
/etc/mysql/my.cnf
I added the following line under
[mysqldump]
inno_db_log_file_size = 512M
Saved and closed the .cnf file and restarted mysql server using
/etc/init.d/mysql start
I then checked the error log file and found that the logfile0 & logfile1 got recreated but got recreated with 5MB size again
Can someone tell me what I am doing wrong. I am guessing that I am not adding the inno_db_log_file_size = 512M
in the right place.
PS: There was no inno_db_log_file_size line before I added it.
Thanks in advance.
`
配置选项是innodb_log_file_size
或innodb-log-file-size
( -
和_
都有效),但不是inno_db_log_file_size
。
Actually that is what I added. I figured out where to write the line.
The above was just a typo. Thanks for looking into it.:)
I solved it myself. Cheers.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.