2 like 0 dislike
115 views
How to enable innodb plugin in mysql 5.1
asked Dec 5, 2017 in Computers & Internet by Simmi (510 points) | 115 views
    

1 Answer

0 like 0 dislike

nano /etc/my.cnf

[mysqld]
ignore-builtin-innodb
plugin-load=innodb=hainnodbplugin.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     |
+------------+--------+----------------+---------------------+---------+
answered Dec 5, 2017 by Sam (1,370 points)

Related questions

1 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked Jul 25, 2013 in Education & Reference by Marc (2,460 points) | 541 views
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
1 like 0 dislike
1 answer
1 like 0 dislike
0 answers
0 like 0 dislike
4 answers
0 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

Mathe Forum Schule und Studenten
1,171 questions
1,311 answers
276 comments
1,603 users