mojoPortal MySql Version

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.
12/6/2007 1:43:55 AM
Gravatar
Total Posts 2

mojoPortal MySql Version

hi,i'm try to install in my pc, But the installation failed。 How do i ?

I put mojoPortal.Data.dll and MySql.Data.dll in the bin file

Working environment: window xp sp2, iis5.1, MySql 5.1, mojoPortal2.2.3.9

There have some error message:

<-------------------------------------------------------------------->
Probing system...
File system permissions ok.
MySQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema already exists.
database core schema needs upgrade.
0 site(s) found.
Running script mojoportal-core - 2.2.3.9 - 00:00:00.1406250
MySql.Data.MySqlClient.MySqlException: Can't create table 'mojodb.#sql-510_c' (errno: 150) 在 MySql.Data.MySqlClient.MySqlStream.OpenPacket() 在 MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId) 在 MySql.Data.MySqlClient.MySqlDataReader.GetResultSet() 在 MySql.Data.MySqlClient.MySqlDataReader.NextResult() 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() 在 MySql.Data.MySqlClient.MySqlHelper.ExecuteNonQuery(MySqlConnection connection, String commandText, MySqlParameter[] commandParameters) 在 mojoPortal.Data.dbPortal.DatabaseHelper_RunScript(String script, String overrideConnectionString) 在 mojoPortal.Data.dbPortal.DatabaseHelper_RunScript(FileInfo scriptFile, String overrideConnectionString) 在 mojoPortal.Business.DatabaseHelper.RunScript(Guid applicationID, FileInfo scriptFile, String overrideConnectionString) - 00:00:00.1562500
Note: This page shows some information that is helpful during setup and upgrades but for security it would be best not to show any information when the system is up to date. You can disable setup and suppress all information on this page by setting DisableSetup=true in Web.config. When you need to upgrade, you can set this back to false. If you are logged in as Administrator setup will run and you will be able to see this page even if it is disabled in Web.config so you can easily leave it disabled and just login before upgrading. But if you are not logged in you will need to enable setup in Web.config.

<------------------------------------------------------------------->
 

12/6/2007 6:51:09 AM
Gravatar
Total Posts 18439

Re: mojoPortal MySql Version

I'm not sure what the problem is there. Looks like aprmission issue since it can't create the table. But I don't know anything about a table named #sql-510c thats not a table use by mojoportal.

Try starting with a new db and make sure the db has default charset utf8

Hope it helps,

Joe

12/9/2007 8:25:07 AM
Gravatar
Total Posts 2

Re: mojoPortal MySql Version

hi Joe,i try starting with a new db and the charset utf8,but it still have the same error message.

this time the table name is #sql-44c_27.

Probing system...
File system permissions ok.
MySQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema needs to be created.
Running script mojoportal-core - 2.2.3.4 - 00:00:04.6406250
Running script mojoportal-core - 2.2.3.5 - 00:00:05.2500000
Running script mojoportal-core - 2.2.3.6 - 00:00:05.2812500
Running script mojoportal-core - 2.2.3.7 - 00:00:05.4375000
Running script mojoportal-core - 2.2.3.8 - 00:00:05.4375000
Running script mojoportal-core - 2.2.3.9 - 00:00:05.4531250
MySql.Data.MySqlClient.MySqlException: Can't create table 'mojo.#sql-44c_27' (errno: 150) 在 MySql.Data.MySqlClient.MySqlStream.OpenPacket() 在 MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId) 在 MySql.Data.MySqlClient.MySqlDataReader.GetResultSet() 在 MySql.Data.MySqlClient.MySqlDataReader.NextResult() 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() 在 MySql.Data.MySqlClient.MySqlHelper.ExecuteNonQuery(MySqlConnection connection, String commandText, MySqlParameter[] commandParameters) 在 mojoPortal.Data.dbPortal.DatabaseHelper_RunScript(String script, String overrideConnectionString) 在 mojoPortal.Data.dbPortal.DatabaseHelper_RunScript(FileInfo scriptFile, String overrideConnectionString) 在 mojoPortal.Business.DatabaseHelper.RunScript(Guid applicationID, FileInfo scriptFile, String overrideConnectionString) - 00:00:05.5312500

12/9/2007 9:07:52 AM
Gravatar
Total Posts 18439

Re: mojoPortal MySql Version

Hi,

I think I figured out what is happening. The 2.2.3.9 script is issuing some alter table commands and I believe this is causing the creation of temporary tables but the user in your connection string does not have permission to create temporary tables. This is a separate permission from create tables.

If you can give your user that permission and start again with a clean db I think it will solve this.

Hope it helps,

Joe

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