How to set innodb_log_file_size
to MySQL database if there is no innodb_log_file_size
in my.cnf configuration file? I'd like to backup via Percona Xtrabackup and the backup crashes at this point telling me that my innodb_log_file_size
is different than it expects.
MySQL the.cnf: innodb_log_file_size is missing
backupinnodbMySQLmysql-5.5perconaxtrabackup
Related Question
- MySQL innodb_log_file_size change is not being recognized
- Thesql-community-server5.7.18 conflicts file /etc/the.cnf with Percona-Server-shared-51-5.1.73-rel14.12.625.rhel6.x86_64
- How to Backup and Restore InnoDB Tables on MySQL 5.7.19 with Percona Xtrabackup
- Mysql backup of remote server in local machine using percona xtrabackup
- MySQL – Restoring Master/Slave Replication from Percona Backup
Best Answer
Login to mysql and run this
or this
This will give you the size mysqld has. The default for MySQL 5.5 is 5M.
Whatever number that turns up should be placed in
my.cnf
. If it is not set, then place thisTry out xtrabackup after adding this to
my.cnf
.