Installation error

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.
2/3/2010 2:45:20 PM
Gravatar
Total Posts 41

Installation error

I get the following when trying to install:

Undersöker system...
Rättigheter för filsystemet ok.
MySQL databasanslutning ok.
databasrättigheter är tilläckliga för att ändra schema.
initialt databaschema behöver skapas.
Kör script mojoportal-core - 2.2.7.8 - 00:00:00.2968693
MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=utf8' at line 62 at MySql.Data.MySqlClient.MySqlStream.ReadPacket() at MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId) at MySql.Data.MySqlClient.MySqlDataReader.GetResultSet() at MySql.Data.MySqlClient.MySqlDataReader.NextResult() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() at MySql.Data.MySqlClient.MySqlScript.Execute() at mojoPortal.Data.DBPortal.DatabaseHelperRunScript(String script, String overrideConnectionInfo) at mojoPortal.Data.DBPortal.DatabaseHelperRunScript(FileInfo scriptFile, String overrideConnectionInfo) at mojoPortal.Business.DatabaseHelper.RunScript(Guid applicationId, FileInfo scriptFile, String overrideConnectionInfo) - 00:00:00.3593681
 

Mojoportal version: 2.3.3.4b

MySQL version: 4.0.26

Is the MySQL version too old?

2/3/2010 2:50:00 PM
Gravatar
Total Posts 18439

Re: Installation error

Possibly that version is too old for the syntax in the script. You could try to edit the script and remove the charset settings from the table create statements. That one is located at /Setup/applications/mojoportal-core/SchemaInstallScripts/mysql/2.2.7.8.config

Maybe that will solve it or maybe you will hit other errors, I'm not sure.

Hope it helps,

Joe

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