MyBB Community Forums

Full Version: Fix This SQL error ? Please Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: 12323765.jpg]
Run this query in your database (if you use phpmyadmin, you can just go to the SQL tab of your database and run it there):

REPAIR TABLE `mybb_sessions`

You can also try to run this one if you don't want that to happen again:

ALTER TABLE `mybb_sessions` ENGINE = memory
thank you sir.. im dont understand...im new this feeld..please tell me step by step
Do you use any kind of control panel (cPanel, Virtualmin, etc.)? What do you use to manage the database of your forum?
cPanel
Ok, then it's easy to explain. You probably have a link there to phpMyAdmin. Click on it and you will be redirected to the phpMyAdmin page. In the left side you will find your databases, select the database of you forum. Then click on the tab "SQL" and copy this code to the box:

REPAIR TABLE `mybb_sessions`

And click execute. This should fix the problem. I've attached some screenshots, they are in portuguese, but it shouldn't be much different:

(sorry for the quality of the images, Paint power Toungue)
im click MySQL® Databases after loading page this error coming

The MySQL® server is currently offline.
Are you using a hosting service or are you self hosting?

If using a service put a helpdesk ticket in and tell them that a mysql server is down.