Upgrade to MySQL 5.1 makes Joomla! 1.5 crash?

General questions relating to Joomla! 1.5 There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
a_isings
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Jan 03, 2010 3:24 pm

Upgrade to MySQL 5.1 makes Joomla! 1.5 crash?

Post by a_isings » Sun Jan 03, 2010 3:38 pm

Happy New Year!

Several Joomla! sites I set up are hosted at worldwidemart.com.
When accessing my Joomla 1.5 sites I've been getting the following error:

jtablesession:: Store Failed
DB function failed with error number 1034
Incorrect key file for table 'jos_session'; try to repair it SQL=INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` ) VALUES ( '72266e7e5b1585e003e6c23ec84ee91a','1262480539','','0','1','0' )

Websites affected include:
http://www.efiproduce.com
http://www.gr8-consulting.com
http://www.ivgna.org
http://www.kbbcuracao.com
http://www.tulalives.org

Note: The websites affected are all running Joomla! 1.5. My Joomla 1.X Websites all seem to work just fine.

The support staff of my host responded as follows:
"We upgraded to MySQL 5.1. Does Joomla have a workaround?"

So my questions are has anyone experienced the same issue and solved it?
And, does Joomla have a "work around"?

Thanks for thinking with me.

User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19659
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: Upgrade to MySQL 5.1 makes Joomla! 1.5 crash?

Post by dhuelsmann » Sun Jan 03, 2010 4:27 pm

Joomla should work just fine with mysql 5.1. Try using phpMyAdmin to repair your database.
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org

a_isings
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Jan 03, 2010 3:24 pm

Re: Upgrade to MySQL 5.1 makes Joomla! 1.5 crash?

Post by a_isings » Sun Jan 03, 2010 5:34 pm

@dhuelsmann:

Thanks for your advice. I tried to repair and all I got was:

Your SQL query has been executed successfully
ivgnaorg_jo151.jos_session repair Error Incorrect key file for table 'jos_session'; try to...
ivgnaorg_jo151.jos_session repair error Corrupt

Kindly refer to the attachment.

Any other avenues to explore?
You do not have the required permissions to view the files attached to this post.

User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19659
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: Upgrade to MySQL 5.1 makes Joomla! 1.5 crash?

Post by dhuelsmann » Sun Jan 03, 2010 6:11 pm

Try running this in the sql window of PHPMyAdmin

Code: Select all

DROP TABLE IF EXISTS `jos_session`;
CREATE TABLE IF NOT EXISTS `jos_session` (
`username` varchar(50) default '',
`time` varchar(14) default '',
`session_id` varchar(200) NOT NULL default '0',
`guest` tinyint(4) default '1',
`userid` int(11) default '0',
`usertype` varchar(50) default '',
`gid` tinyint(3) unsigned NOT NULL default '0',
`client_id` tinyint(3) unsigned NOT NULL default '0',
`data` longtext,
PRIMARY KEY (`session_id`),
KEY `whosonline` (`guest`,`usertype`)
) 
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org

a_isings
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Jan 03, 2010 3:24 pm

Re: Upgrade to MySQL 5.1 makes Joomla! 1.5 crash?

Post by a_isings » Sun Jan 03, 2010 6:31 pm

@dhuelsmann

OK thanks that solved(?) one problem.
On to the next?

Thank you for your efforts so far!
You do not have the required permissions to view the files attached to this post.

User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19659
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: Upgrade to MySQL 5.1 makes Joomla! 1.5 crash?

Post by dhuelsmann » Sun Jan 03, 2010 7:02 pm

Try to run repair on the table first.
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org

User avatar
Tonie
Joomla! Master
Joomla! Master
Posts: 16553
Joined: Thu Aug 18, 2005 7:13 am

Re: Upgrade to MySQL 5.1 makes Joomla! 1.5 crash?

Post by Tonie » Sun Jan 03, 2010 7:15 pm

If you search for the error on the Internet, you will see this is a known issue when migrating from 5.0 to 5.1. This is more of a Mysql than a specific Joomla issue, also because it's directly caused by the Mysql upgrade. I would ask support to give you a workaround, since your sites won't run any more and it is their upgrade that caused this.

a_isings
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Jan 03, 2010 3:24 pm

Re: Upgrade to MySQL 5.1 makes Joomla! 1.5 crash?

Post by a_isings » Sun Jan 03, 2010 7:25 pm

@dhuelsmann

I did and the result is attached.

Still very grateful.
You do not have the required permissions to view the files attached to this post.

a_isings
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Jan 03, 2010 3:24 pm

Re: Upgrade to MySQL 5.1 makes Joomla! 1.5 crash?

Post by a_isings » Sun Jan 03, 2010 7:26 pm

Tonie wrote:If you search for the error on the Internet, you will see this is a known issue when migrating from 5.0 to 5.1. This is more of a Mysql than a specific Joomla issue, also because it's directly caused by the Mysql upgrade. I would ask support to give you a workaround, since your sites won't run any more and it is their upgrade that caused this.
I agree, but also loathe all hell breaking loose with my customers tomorrow.

Thanks for the support though!

User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19659
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: Upgrade to MySQL 5.1 makes Joomla! 1.5 crash?

Post by dhuelsmann » Sun Jan 03, 2010 7:43 pm

Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org

a_isings
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Jan 03, 2010 3:24 pm

Re: Upgrade to MySQL 5.1 makes Joomla! 1.5 crash?

Post by a_isings » Sun Jan 03, 2010 9:44 pm

@dhuelsmann:

Thanks

rickymuchtar
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Jun 18, 2009 5:14 am

Re: Upgrade to MySQL 5.1 makes Joomla! 1.5 crash?

Post by rickymuchtar » Sun Nov 16, 2014 4:59 pm

The link is broken i think, but i found other link:
http://dev.mysql.com/doc/refman/5.1/en/ ... ables.html

But to be honest, I don't understand what should i do.
I already did REPAIR TABLE (db_name) and I got same response as above.
But after that, I still don't know what to do..
please advice.. thank you

rickymuchtar
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Jun 18, 2009 5:14 am

Re: Upgrade to MySQL 5.1 makes Joomla! 1.5 crash?

Post by rickymuchtar » Mon Nov 17, 2014 10:03 pm

dhuelsmann wrote:Try running this in the sql window of PHPMyAdmin

Code: Select all

DROP TABLE IF EXISTS `jos_session`;
CREATE TABLE IF NOT EXISTS `jos_session` (
`username` varchar(50) default '',
`time` varchar(14) default '',
`session_id` varchar(200) NOT NULL default '0',
`guest` tinyint(4) default '1',
`userid` int(11) default '0',
`usertype` varchar(50) default '',
`gid` tinyint(3) unsigned NOT NULL default '0',
`client_id` tinyint(3) unsigned NOT NULL default '0',
`data` longtext,
PRIMARY KEY (`session_id`),
KEY `whosonline` (`guest`,`usertype`)
) 
I try running the sql above, but the result:
"Missing value in the form"

Is there anyone help me please?


Locked

Return to “General Questions/New to Joomla! 1.5”