Mysql Common Errors: telnet

Source: Internet
Author: User
Tags localhost mysql

Mysql Common Errors: telnet

1. [ERROR] InnoDB: Data file/usr/local/mysql-5.6.30/data3306/ibdata1 is of a different size

[Root @ localhost mysql] # less/etc/my. cnf | grep innodb_data_file_pathinnodb_data_file_path = ibdata1: 200 M: autoextend [root @ localhost mysql] # ls-lh/var/lib/mysql/ibdata1-rw-rw ---- 1 mysql 18 M Nov 12/var/lib/mysql/ibdata1 due to parameter setting and the actual file size is inconsistent, when the above fault occurs when mysql is started, we can choose to modify my. cnf file configuration or directly comment out this parameter setting, so that mysql can use the default parameter to check or My. specify this parameter in the cnf file to be equal to the actual file size [root @ localhost mysql] # less/etc/my. cnf | grep innodb_data_file_pathinnodb_data_file_path = ibdata1: 18 M: autoextend

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.