MySQL cannot start the service, MySQL is stuck, InnoDB 'registry as a storage engine

Source: Internet
Author: User
Tags unsupported

Keyword: MySQL cannot start the service, MySQL is stuck, InnoDB 'registry as a storage engine failed. Unknown/unsupported table Type: InnoDB.
A few days ago, when I started MySQL, I suddenly reported a 1067 system error and failed to start.
At that time, the Registry was reinstalled, cleared, and restarted, but there was no way to start it.
It is always the last step in the Post-installation configuration to start the service. It does not respond for half a day.
After two or three hours, I suddenly remembered that I should check the log,
110223 15:58:08 [note] plugin 'federated 'is disabled.
110223 15:58:08 InnoDB: initializing buffer pool, size = 17.0 m
110223 15:58:08 InnoDB: Completed initialization of Buffer Pool
InnoDB: no valid checkpoint found.
InnoDB: If this error appears when you are creating an InnoDB database,
InnoDB: the problem may be that during an earlier attempt you managed
InnoDB: to create the InnoDB data files, but log file creation failed.
InnoDB: if that is the case, please refer
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/error-creating-innodb.html
110223 15:58:08 [Error] plugin 'innodb' init function returned error.
110223 15:58:08 [Error] plugin 'innodb' registry as a storage engine failed.
110223 15:58:08 [Error] Unknown/unsupported table Type: InnoDB
110223 15:58:08 [Error] aborting
The error message returned when the InnoDB initialization fails and the InnoDB type is unknown.
Google, open the my. ini file, and change default-storage-engine = InnoDB to default-storage-engine = myism.
Started successfully. However, the InnoDB engine cannot be found during table creation.
But I thought, I can't keep it like this, so InnoDB won't work anymore. with Google, it's mainly caused by incorrect InnoDB log size.
Innodb_buffer_pool_size = 512 m
Innodb_log_file_size = 128 m
Increase the preceding parameters, delete the ibdata1, ib_logfile0, and ib_logfile1 files, and then restart the service.
If the problem persists, add a path like tmpdir = "USR/tmp" to the my. ini file, because InnoDB also needs a temporary file cache.
Another problem is that the password is correct, but the GUI tool cannot log on. You can first configure the program to change the password, and then log on to the command line to refresh the permission. Flush privilege.
Record it for your reference only.

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.