Sometimes, either because we’ve got a puny amount of RAM available, or because we’ve recently boosted available RAM, we want to allow MySQL a different amount of memory for it’s innodb logs.
However, when we change this, restarting MySQL(d) can cause a hiccup or two. Namely, the MySQL service won’t restart. If this happens, what you need to do is stop MySQL(d); remove the pre-existing logs; and then start MySQL(d) and you’ll find that the new logs are then created (in their new size!).
The following code may work, depending on your setup!
service mysqld stop
rm -f /var/lib/mysql/ib_logfile
service mysqld start
Leave a comment below if this didn’t work for you. Please do describe your setup. I might not always be able to help, but someone here might be!