postfix
서비스를 사용하여 메일을 전송하려 할 때 다음 에러 메세지가 출력되는 경우가 있습니다.
Sep 26 10:59:18 mysite mysqld: 2018-09-26 10:59:18 140320859739904 [Warning] InnoDB: Table mysql/innodb_index_stats has length mismatch in the column name table_name. Please run mysql_upgrade Sep 26 11:00:39 mysite journal: Suppressed 355 messages from /system.slice/postfix.service
Table mysql/innodb_index_stats has length mismatch 해결
innoDB 데이터베이스를 업그레이드함으로서 위 경고 메세지를 없앨 수 있습니다. 위에서 표시 된 에러는 경고 메세지이기 때문에 필수적으로 진행하지는 않아도 됩니다.
mysql_upgrade -p
명령을 실행하여 해결할 수 있습니다.
[root@localhost ~]# mysql_upgrade -p Enter password: Phase 1/7: Checking and upgrading mysql database Processing databases mysql mysql.column_stats OK mysql.columns_priv OK mysql.db OK mysql.event OK mysql.func OK mysql.gtid_slave_pos OK mysql.help_category OK mysql.help_keyword OK mysql.help_relation OK mysql.help_topic OK mysql.host OK mysql.index_stats OK mysql.innodb_index_stats OK mysql.innodb_table_stats OK mysql.plugin OK mysql.proc OK mysql.procs_priv OK mysql.proxies_priv OK mysql.roles_mapping OK mysql.servers OK mysql.table_stats OK mysql.tables_priv OK mysql.time_zone OK mysql.time_zone_leap_second OK mysql.time_zone_name OK mysql.time_zone_transition OK mysql.time_zone_transition_type OK mysql.user OK Phase 2/7: Installing used storage engines... Skipped Phase 3/7: Fixing views Phase 4/7: Running 'mysql_fix_privilege_tables' Phase 5/7: Fixing table and database names Phase 6/7: Checking and upgrading tables Processing databases information_schema Phase 7/7: Running 'FLUSH PRIVILEGES' OK