Fun at zangOOr Click Here
0 like 0 dislike
877 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 (950 points) | 877 views

2 Answers

0 like 0 dislike

[[email protected] 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.

[[email protected] 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 (790 points)
0 like 0 dislike

Dont forget to modify my.cnf file

add line
default-storage-engine=InnoDB

by (1.4k points)

Related questions

0 like 0 dislike
1 answer
asked Jan 18, 2019 in Education & Reference by Marc (3.3k points) | 297 views
2 like 0 dislike
1 answer
asked Dec 5, 2017 in Computers & Internet by Simmi (640 points) | 323 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 (3.3k points) | 199 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 (790 points) | 6.5k 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,245 questions
1,400 answers
565 comments
4,809 users