Can't upgrade if MySql server is case-sensitive

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
5/6/2018 12:06:08 PM
Gravatar
Total Posts 251

Can't upgrade if MySql server is case-sensitive

Hi, if, like me, the MySql server is hosted on a Linux server and is case sensitive, upgrading to a newer version of MojoPortal fails. Luckily the fix is simple:

in "www\Setup\applications\blog\SchemaUpgradeScripts\mysql\2.6.1.9.config"

replace the code with this:

DELETE FROM mp_ModuleDefinitionSettings WHERE SettingName = 'BlogShowAddFeedLinksSetting';
DELETE FROM mp_ModuleSettings WHERE SettingName = 'BlogShowAddFeedLinksSetting';

Maybe there are other instances that I missed because in the beginning I took the wrong approach of renaming the tables to lowercase

10/20/2018 2:18:22 AM
Gravatar
Total Posts 2239

Re: Can't upgrade if MySql server is case-sensitive

Hi,

This has been fixed in the source code repository for some time now but we just made a new release which includes it as well.

Thank you,
Joe

10/20/2018 2:28:13 AM
Gravatar
Total Posts 251

Re: Can't upgrade if MySql server is case-sensitive

Thanks laugh

You must sign in to post in the forums. This thread is closed to new posts.