How To Determine Where MySQL Looks For my.cnf

Author: , March 22nd, 2021

Ah, the power of grep!

How To Update the innodb_log_file_size Setting in MySQL

Author: , October 29th, 2014

[root@db1 ~]# service mysqld stop [root@db1 ~]# cd /var/lib/mysql [root@db1 mysql]# ls -l ib_logfile? -rw-rw—- 1 mysql mysql 5242880 Oct 29 23:00 ib_logfile0 -rw-rw—- 1 mysql mysql 5242880 Oct 29 22:38 ib_logfile1 [root@db1 mysql]# mv ib_logfile0 ib_logfile0.old [root@db1 mysql]# mv ib_logfile1 ib_logfile1.old [root@db1 ~]# vi /etc/my.cnf innodb_log_file_size=64M # comment out the old value, if one […]

How To Find the MySQL Config File

Author: , October 2nd, 2013

/usr/sbin/mysqld –verbose –help | grep -A 1 “Default options”

Where To Find MySQL Sample my.cnf Configuration Files On Amazon Linux

Author: , February 9th, 2012

YMMV… /usr/share/doc/mysql-server-5.1.52