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
In daily work, we sometimes run slow queries to r...
The so-called cascading replication is that the m...
Vue $set array collection object assignment In th...
The problem of resetting the password for Zabbix ...
Use CSS to modify the browser scroll bar style ::...
Zabbix automatically discovers rules to monitor s...
Table of contents Modify the repository source st...
1. Change the virtual machine hardware version in...
Method 1: Using the onclick event <input type=...
In SQL, GROUP BY is used to group data in the res...
Error message: Job for mysqld.service failed beca...
I finished learning SQL by myself not long ago, a...
Preface Any application that can be written in Ja...
Variables defined in SASS, the value set later wi...
I have used the vi editor for several years, but ...