Find the problem Today at work, when copying table data from a local database to a database on a virtual machine CentOS 6.6, I got the prompt: Unknown table engine 'InnoDB' So I checked the engine in the server MySQL: mysql> show engines\G get: *************************** 1. row *************************** Engine: MyISAM Support: DEFAULT Comment: MyISAM storage engine Transactions: NO XA: NO Savepoints: NO *************************** 2. row *************************** Engine: CSV Support: YES Comment: CSV storage engine Transactions: NO XA: NO Savepoints: NO *************************** 3. row *************************** Engine: MEMORY Support: YES Comment: Hash based, stored in memory, useful for temporary tables Transactions: NO XA: NO Savepoints: NO *************************** 4. row *************************** Engine: BLACKHOLE Support: YES Comment: /dev/null storage engine (anything you write to it disappears) Transactions: NO XA: NO Savepoints: NO *************************** 5. row *************************** Engine: MRG_MYISAM Support: YES Comment: Collection of identical MyISAM tables Transactions: NO XA: NO Savepoints: NO *************************** 6. row *************************** Engine: PERFORMANCE_SCHEMA Support: YES Comment: Performance Schema Transactions: NO XA: NO Savepoints: NO *************************** 7. row *************************** Engine: ARCHIVE Support: YES Comment: Archive storage engine Transactions: NO XA: NO Savepoints: NO *************************** 8. row *************************** Engine: FEDERATED Support: NO Comment: Federated MySQL storage engine Transactions: NULL XA: NULL Savepoints: NULL *************************** 9. row *************************** Engine: InnoDB Support: NO Comment: Supports transactions, row-level locking, and foreign keys Transactions: NULL XA: NULL Savepoints: NULL rows in set (0.00 sec) When InnoDB Support is set to NO Workaround Edit my.cnf [root@localhost mysql]# vim /etc/my.cnf Change At the same time, just comment out Summarize The above is the full content of this article. I hope that the content of this article can bring some help to your study or work. If you have any questions, you can leave a message to communicate. Thank you for your support of 123WORDPRESS.COM. You may also be interested in:
|
<<: JavaScript implements circular carousel
>>: How to Set Shortcut Icons in Linux
One demand Generally speaking, a company has mult...
This article example shares the specific code of ...
Front-end test page code: <template> <di...
First, let me give you an example (if you don’t w...
What is CSS# CSS (abbreviation of Cascading Style...
This article introduces how to monitor the ogg pr...
I had nothing to do, so I bought the cheapest Ali...
time(); function Function prototype: time_t time(...
1. Introduction to Compose Compose is a tool for ...
Table of contents Data Brokers and Events Review ...
The marquee element can achieve simple font (image...
First, there is only one change event. changeleve...
1. Download MySQL Workbench Workbench is a graphi...
This article shares the specific code for WeChat ...
Q1: What indexes does the database have? What are...