Members: 10,140
Threads: 38,830
Posts: 159,367
Online: 46

Newest Member: Xoote


Old 23.04.2004, 09:25   #1
padu
Baby Mamber
 
Join Date: Apr 2004
Location: switzerland
Posts: 3
padu is on a distinguished road
Default MYSQL error (errno: 145)

Hello,

I have 2 times an erno: 145 error in mysql withe the mos_session table.
I knaow how to solve it, my question is more if somebody else has the same prob and if anyone knows why ?
Tahnks
Padu
padu is offline  
Sponsored Links
Old 23.04.2004, 16:31   #2
tonyskyday
Professional Mamber
 
tonyskyday's Avatar
 
Join Date: Apr 2004
Location: Charlottesville, VA USA
Posts: 565
tonyskyday is on a distinguished road
Default Re: MYSQL error (errno: 145)

You may be getting this error for a couple of reasons, so we need more information:

What version of MySQL do you have?
What is the cookie lifetime set to in the Mambo configuration?
Do you have phpmyadmin or some similar db interface tool you can use to repair the mos_session table?

-Tony
tonyskyday is offline  
Old 25.04.2004, 16:44   #3
james
Baby Mamber
 
Join Date: Apr 2004
Posts: 13
james is on a distinguished road
Default Re: MYSQL error (errno: 145)

Hope you have buckup for every db file, you should delete mos_session from your mysql and upload the new one, if you dont have you can create one yourself in the notepad.
Here is how should looks, then drop the old one upload this one it will works.

#
# Table structure for table `mos_session`
#
DROP table IF EXISTS mos_session;
CREATE TABLE `mos_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',
PRIMARY KEY (`session_id`),
KEY `whosonline` (`guest`,`usertype`)
) TYPE=MyISAM;
#
# Dumping data for table `mos_session`
#
james is offline  
Old 27.11.2004, 23:40   #4
virstad
Baby Mamber
 
Join Date: Nov 2004
Posts: 1
virstad is on a distinguished road
Default Re: MYSQL error (errno: 145)

Thanks for your rows. I noticed that my homepage hade these errors, followed your description and everything is OK again!

Cheers - Josef
virstad is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Non MySQL CMS Kumagoro Community Smalltalk 28 13.06.2007 07:42
experts pls help: mysql strange behavior coke Development Discussions 5 19.04.2004 19:10
Mysql Port Options titansking Mambo 4.5 Installation and Upgrades 13 17.04.2004 17:34
Converting MySQL tables from PHPKIT to MAMBO ? mrcina Mambo 4.5 'How Do I' Questions 2 09.04.2004 01:59


All times are GMT +2. The time now is 22:42.

Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.