Install for mysql - in release 2-2-5-8

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
6/29/2008 9:52:24 AM
Gravatar
Total Posts 4

Install for mysql - in release 2-2-5-8

There are some problems during installation on MySQL (in release 2-2-5-8). For example in the application renewal scheme (file 2.2.4.6):

MySql.Data.MySqlClient.MySqlException: Can't create table 'mojoportal.mp_letter' (errno: 150) at MySql.Data.MySqlClient.MySqlStream.OpenPacket () at MySql.Data.MySqlClient.NativeDriver.ReadResult (UInt64 & affectedRows, Int64 & lastInsertId) at

And in particular in the performance lines:
ALTER TABLE mp_Letter
ADD CONSTRAINT `FK_Letter_letterinfo`
FOREIGN KEY ( `LetterInfoGuid`)
REFERENCES mp_LetterInfo ( `LetterInfoGuid`);

Error MYSQL:
Can't create table 'mojoportal. # Sql-d60_2d' (errno: 121)

---------------------

MySQL for windows (5.1)

windows xp sp 2 + patches

6/29/2008 9:59:22 AM
Gravatar
Total Posts 18439

Re: Install for mysql - in release 2-2-5-8

Hi,

People have reported problems before about using MySql 5.1, I have not yet tested with that version, as I understand it from this page, its still a release candidate not a final release.

I recommend you uninstall MySql 5.1 and install 5.0.

Hope it helps,

Joe

6/29/2008 10:43:55 AM
Gravatar
Total Posts 4

Re: Install for mysql - in release 2-2-5-8

Yes there are problems with MYSQL 5.1,
I have with manual application of patches creates an interesting error in the database:

I unloaded dump base and found the following:

DROP TABLE IF EXISTS `mp_letterinfo`;
CREATE TABLE `mp_letterinfo` (
`LetterInfoGuid` varchar (36) NOT NULL,
`SiteGuid` varchar (36) NOT NULL,
`Title` varchar (255) NOT NULL,
`Description` text NOT NULL,
`AvailableToRoles` text NOT NULL,
`Enabled` tinyint (1) unsigned NOT NULL,
`AllowUserFeedback` tinyint (1) unsigned NOT NULL,
`AllowAnonFeedback` tinyint (1) unsigned NOT NULL,
`FromAddress` varchar (255) NOT NULL,
`FromName` varchar (255) NOT NULL,
`ReplyToAddress` varchar (255) NOT NULL,
`SendMode` int (11) NOT NULL,
`EnableViewAsWebPage` tinyint (1) unsigned NOT NULL,
`EnableSendLog` tinyint (1) unsigned NOT NULL,
`RolesThatCanEdit` text NOT NULL,
`RolesThatCanApprove` text NOT NULL,
`RolesThatCanSend` text NOT NULL,
`SubscriberCount` int (11) NOT NULL,
`CreatedUTC` datetime NOT NULL,
`CreatedBy` varchar (36) NOT NULL,
`LastModUTC` datetime NOT NULL,
`LastModBy` varchar (36) NOT NULL,
PRIMARY KEY ( `LetterInfoGuid`),
CONSTRAINT `FK_Letter_letterinfo` FOREIGN KEY ( `LetterInfoGuid`) REFERENCES `mp_letterinfo` ( `LetterInfoGuid`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8;

Out of this code for the SQL unable to create a second limit.

ALTER TABLE mp_Letter
ADD CONSTRAINT `FK_Letter_letterinfo`
FOREIGN KEY ( `LetterInfoGuid`)
REFERENCES mp_LetterInfo ( `LetterInfoGuid`);

Error MYSQL:
Can't create table 'mojoportal. # Sql-d60_2d' (errno: 121)


I think you can send an error report in MYSQL, if accurately find a place mistakes MYSQL (when and under what conditions occurs), but I have no wish to send yet, there is only a desire to make work MOJO

Joe, maybe it is worth specify the documentation for instructions on what version of the database made tests? (simply there is only one mention of the release "MySQL 4.0.20 or newer installed. It may work with older versions but I have not tested it.")

6/30/2008 2:27:39 PM
Gravatar
Total Posts 36
Anchorage, Alaska

Re: Install for mysql - in release 2-2-5-8

I have successfully installed 2-2-5-8 using MySql 5.2 connector.

7/1/2008 1:42:07 PM
Gravatar
Total Posts 18439

Re: Install for mysql - in release 2-2-5-8

The database and the connector are 2 different things. The newest Connector is version 5.2, but the newest version of MySql database that is official is 5.0. 5.1 is a release candidate version but not a final release.

Maybe, upgrading to the 5.2 Connector will solve the problem people are having using the 5.1 database. I have upgraded to this version in svn trunk if anyone wants to try it and tell me if it solved the problem of using mojoPortal with MySql 5.1.

Best,

Joe

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