Claim your Biolink Click Here
2 like 0 dislike
697 views
How to enable innodb plugin in mysql 5.1
in Computers & Internet by (830 points) | 697 views

1 Answer

0 like 0 dislike

nano /etc/my.cnf

[mysqld]
ignore-builtin-innodb
plugin-load=innodb=ha_innodb_plugin.so
plugin_dir=/usr/lib64/mysql/plugin/
default-storage-engine = InnoDB

mysql> SHOW ENGINES;
+------------+---------+------------------------------------------------------------+--------------+------+------------+
| Engine     | Support | Comment                                                    | Transactions | XA   | Savepoints |
+------------+---------+------------------------------------------------------------+--------------+------+------------+
| InnoDB     | DEFAULT | Supports transactions, row-level locking, and foreign keys | YES          | YES  | YES        |
| CSV        | YES     | CSV storage engine                                         | NO           | NO   | NO         |
| MRG_MYISAM | YES     | Collection of identical MyISAM tables                      | NO           | NO   | NO         |
| MyISAM     | YES     | Default engine as of MySQL 3.23 with great performance     | NO           | NO   | NO         |
| MEMORY     | YES     | Hash based, stored in memory, useful for temporary tables  | NO           | NO   | NO         |
+------------+---------+------------------------------------------------------------+--------------+------+------------+
5 rows in set (0.00 sec)


-->

mysql> SHOW PLUGINS;
    +------------+--------+----------------+---------------------+---------+
    | Name       | Status | Type           | Library             | License |
    +------------+--------+----------------+---------------------+---------+
    | binlog     | ACTIVE | STORAGE ENGINE | NULL                | GPL     |
    | partition  | ACTIVE | STORAGE ENGINE | NULL                | GPL     |
    | CSV        | ACTIVE | STORAGE ENGINE | NULL                | GPL     |
    | MEMORY     | ACTIVE | STORAGE ENGINE | NULL                | GPL     |
    | MyISAM     | ACTIVE | STORAGE ENGINE | NULL                | GPL     |
    | MRG_MYISAM | ACTIVE | STORAGE ENGINE | NULL                | GPL     |
    | InnoDB     | ACTIVE | STORAGE ENGINE | ha_innodb_plugin.so | GPL     |
+------------+--------+----------------+---------------------+---------+
by (1.6k points)

Related questions

1 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked Jan 18, 2019 in Education & Reference by Marc (4.7k points) | 426 views
0 like 0 dislike
1 answer
asked Jul 25, 2013 in Education & Reference by Marc (4.7k points) | 804 views
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Sep 5, 2019 in Computers & Internet by Neha (1.1k points) | 259 views
1 like 0 dislike
1 answer

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

1,312 questions
1,473 answers
569 comments
4,809 users