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
Table of contents Preface Example summary Preface...
Block element p - paragraph pre - format text tabl...
If you directly set the width attribute to the sty...
The specific code is as follows: <div id="...
First, let me talk about the general idea: 1. Log...
1. Installation process MySQL version: 5.7.18 1. ...
Background Threads •Master Thread The core backgr...
Introduction: The configuration of Docker running...
This time let’s look at a navigation bar layout w...
Add secure_file_priv = ' '; then run cmd ...
This article shares the implementation code of jQ...
accomplish This effect is difficult to replicate ...
There is a task process on the server. When we us...
Table of contents 1. Project environment: 2: DNS ...
Docker takes up a lot of space. Whenever we run c...