Claim your Biolink Click Here
0 like 0 dislike
1.3k views
Hi,

I am using otrs5 and would like to use InnoDB instead of MyISAM because of table locking issue.

Can anyone help me?
in Education & Reference by (1.1k points) | 1.3k views

2 Answers

0 like 0 dislike

[otrs@localhost bin]$ ./otrs.Console.pl Maint::Database::MySQL::InnoDBMigration
Checking for tables that need to be converted to InnoDB...
95 tables need to be converted.
You can re-run this script with --force to start the migration.
This operation can take a long time.

[otrs@localhost bin]$ ./otrs.Console.pl Maint::Database::MySQL::InnoDBMigration --force

OUTPUT
Converting all database tables to InnoDB...
95 tables need to be converted.
Changing table acl to engine InnoDB...
Changing table acl_sync to engine InnoDB...
Changing table article to engine InnoDB...
Changing table article_attachment to engine InnoDB...

AND to VERIFY

mysql> SELECT TABLE_NAME,  ENGINE FROM   information_schema.TABLES WHERE  TABLE_SCHEMA = 'otrs';

OUTPUT
+------------------------------+--------+
| TABLE_NAME | ENGINE |
+------------------------------+--------+
| acl | InnoDB |
| acl_sync | InnoDB |
| article | InnoDB |
| article_attachment | InnoDB |

by (1.1k points)
0 like 0 dislike

Dont forget to modify my.cnf file

add line
default-storage-engine=InnoDB

by (1.6k points)

Related questions

0 like 0 dislike
1 answer
asked Jan 18, 2019 in Education & Reference by Marc (4.7k points) | 426 views
2 like 0 dislike
1 answer
asked Dec 5, 2017 in Computers & Internet by Simmi (830 points) | 697 views
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked May 14, 2020 in Education & Reference by Marc (4.7k points) | 407 views
2 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
asked Oct 25, 2017 in Education & Reference by Krish (1.1k points) | 8.3k views
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

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