Iām planning to change the DB engine type from the old myisam to innodb after reading that article post below
due to I have issues with not being able to upgrade suiteCRM because it throws a databse error, (MySQL error 1071: Specified key was too long; max key length is 1000 bytes):
Now with that said.: 1. ) Is there any database table that should NOT be changed to InnoDB and must stay as MyISAM?
2.) Anything that I should think about before doing this?
Thanks in advance for the help.
Kind regards
PowerQuest
Well from my research it seems that InnoDB allows more characters than the older format MyISAM so I am hoping that could solve the issue or at least some of it. Right now I cannot upgrade because it throws that ādatabase error se suitcrm.logā which then contains the 1071 error. So Iām stuck between a rock and a hard place really.
Thanks for the link, I will check that out.
Well if anyone knows if I should convert all DB tables to InnoDB or maybe leave a few specific tables as MyISAM for any specific reason than I would be very happy for that help.
Iāve never heard of leaving only some tables in one systemā¦
That 1000 chars error is just a quirk, it can be solved. There are numerous threads here in the forums with this issue, and I believe I remember seeing this also on Github.
The index is built from a few fields, and these fields were increased in length a couple of years ago. But there are other ways of generating the index. This will probably require something to be tweaked in core SuiteCRM. But it shouldnāt be too difficult to work around by removing the index and replacing it with something equivalent.
No, and i cannot see how to apply that fix either?
All I have done is to install the update package and then things went south with those errors. I cannot even run the rebuild in the admin section because that generates the ādatabase error please see suitecrm.logā.
Hmmmm
To be honest IĀ“m not sure how to do this:
I guess I have to do something/run querys in MariaDB/MySql (?), but I donĀ“t know what commands etc that is needed to make this happenā¦