InnoDB Engine is absent in Database server

Created:

2016-11-16 12:40:51 UTC

Modified:

2017-08-16 18:29:00 UTC

1

Was this article helpful?


Have more questions?

Submit a request

InnoDB Engine is absent in Database server

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.x for Linux
  • Plesk 11.x for Windows
  • Plesk 12.0 for Windows
  • Plesk 12.0 for Linux

Symptoms

  1. InnoDB is not listed among the available storage engines in the DB Webadmin/phpMyAdmin interface when creating a new table.

  2. An attempt to create a table with ENGINE=InnoDB fails with this error:

    ERROR 1286 (42000) at line 1: Unknown table engine 'innodb'
  3. An attempt to back up databases using the mysqldump utility fails:

    mysqldump: Got error: 1286: Unknown table engine 'InnoDB' when using LOCK TABLES Dumping : db1_table
  4. MySQL server fails to start with the following error in /var/log/mysqld.log :

    130826 10:37:08 [ERROR] Unknown/unsupported storage engine: InnoDB

Cause

The InnoDB engine is disabled in the MySQL database server configuration.

Resolution

  1. Stop MySQL service:

    # /etc/init.d/mysql stop
  2. Make a backup copy of the MySQL data directory (default location is /var/lib/mysql ):

    # cp -a /var/lib/mysql /var/lib/mysql.orig
  3. Open the file /etc/my.cnf (or the file /etc/mysql/my.cnf on Debian/Ubuntu) for editing.

  4. Find the skip-innodb parameter and either remove it or comment the line by adding # at the beginning of the line:

    #skip-innodb
  5. Insert the following parameters into the [mysqld] and [mysqld_safe] sections in /etc/my.cnf :

    innodb_buffer_pool_size=16M
    innodb_additional_mem_pool_size=500K
    innodb_log_buffer_size=500K
    innodb_thread_concurrency=2
  6. Save the file and start MySQL:

    # /etc/init.d/mysql start
Have more questions? Submit a request
Please sign in to leave a comment.