MyBB Central

Full Version: Changing the sessions table for mybb to optimize.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I got this neat little tip from Tikitiki. Basically it's simple to implement. It requires you to change the sessions table to HEAP (memory). This SHOULD help prevent sessions table crashing and it will also automatically truncate (delete) sessions older than 24 hours.

Run this in your phpmyadmin:

Code:
ALTER TABLE `mybb_sessions` ENGINE = memory

This of course assumes your prefix is mybb. Alter it if you have changed your prefix.