Unknown/unsupportedtabletype: innodb

Source: Internet
Author: User
For example, this problem occurs when MySQL is started when a new system is installed. It turns out that InnoDB engine is not installed when MySQL is installed. The solution is as follows: 1. change the default engine back to MyISAM and modify etcmy. cnf: Comment the whole line of -- default-storage-engine or change it to MyISAM. 2. Start MySQL. If there are no other errors

For example, this problem occurs when MySQL is started when a new system is installed. It turns out that InnoDB engine is not installed when MySQL is installed. The solution is as follows: 1. change the default engine back to MyISAM and modify/etc/my. cnf: Comment the whole line of -- default-storage-engine or change it to MyISAM. 2. Start MySQL. If there are no other errors

For example, this problem occurs when MySQL is started when a new system is installed today. It turns out that InnoDB engine is not installed when MySQL is installed, and thus it does not recognize it. The solution is as follows:

1. Change the default engine back to MyISAM, modify/etc/my. cnf, comment the whole line of -- default-storage-engine, or change the value to MyISAM.

2. Start MySQL. If there are no other errors, it should be able to start successfully.

3. log on to MySQL and run the following command: # mysql-uroot-p (enter your password)

4. install the InnoDB engine with the command: # install plugin innodb soname 'Ha _ innodb. so ';

5. You can see that the installation is successful. Exit MySQL, re-edit/etc/my. cnf, and set -- default-storage-engine = InnoDB

6. Restart MySQL. Now it is successful!

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.