Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2008
    Posts
    7
    Plugin Contributions
    0

    Default sessions table keeps crashing

    ok sessions table keeps crashing ( 3 times in last 2 wks )

    1st and 2nd error:
    145 Table './blah/sessions' is marked as crashed and should be repaired
    in:
    [select value from sessions where sesskey = '25a5b39d0bcb4267f6859d4a3e1b5d47' and expiry > '1241801945']


    last error:
    126 Incorrect key file for table './blah/sessions.MYI'; try to repair it
    in:
    [delete from sessions where expiry < 1248164003]

    1062 Duplicate entry 'f6c27cc105b45f6feb1f136c12a9c2f3' for key 1
    in:
    [insert into sessions values ('f6c27cc105b45f6feb1f136c12a9c2f3', '1248165443', '')]


    126 Incorrect key file for table './blah/sessions.MYI'; try to repair it
    in:
    [delete from sessions where expiry < 1248164144]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

    1062 Duplicate entry '34f12159906fc241a173e6d71146893d' for key 1


    i have been able to repair the table each time in phpmyadmin but its becoming a pain.

    i have just upgraded to 1.3.8 but 2 of these crashes happened before upgrade.

    php ver 5.2.6

    Any help appreciated.

    Andy

  2. #2

    Default Re: sessions table keeps crashing

    Convert it to InnoDB table and crashes will go away.

  3. #3
    Join Date
    Jun 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: sessions table keeps crashing

    thanks just done that... now fingers legs and everything else crossed.

  4. #4
    Join Date
    Jan 2007
    Location
    utah
    Posts
    26
    Plugin Contributions
    0

    Default Re: sessions table keeps crashing

    I'm a noob to mysql

    how do you convert it?

  5. #5
    Join Date
    Jan 2007
    Location
    utah
    Posts
    26
    Plugin Contributions
    0

    Default Re: sessions table keeps crashing

    found out from my server admin
    my mysql instructions were like this

    You can convert from MyISAM to InnoDB in phpMyAdmin with just a few clicks. To convert your data tables from MyISAM to InnoDB in phpMyAdmin, you will select the table, click the “Operations” tab, and then choose InnoDB from the drop down box next to the “Storage Engine” type. Click “Go” and you are done!"

 

 

Similar Threads

  1. v139h Who's online table keeps crashing.
    By sharc316 in forum Customization from the Admin
    Replies: 20
    Last Post: 11 Jun 2014, 11:19 PM
  2. A simple bit of code to move...keeps crashing! average product rating
    By plymgary1 in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 9 Mar 2010, 08:53 AM
  3. Sessions Table...
    By Nessuno in forum General Questions
    Replies: 1
    Last Post: 6 Feb 2010, 05:15 AM
  4. installer keeps crashing - hangs on system-setup screen
    By changostraw in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 17 May 2009, 02:51 PM
  5. table error please help: "table 'sessions' doesn't exist"
    By ebydrc in forum General Questions
    Replies: 3
    Last Post: 6 Apr 2008, 06:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg