MyBB Community Forums

Full Version: 1054 SQL Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I get this

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
    1054 - Unknown column 'loginattempts' in 'field list'
Query:
    SELECT loginattempts FROM mybb_users WHERE LOWER(username)='megaboost' LIMIT 1 

Can anyone point me in the right direction to fix this. I've tried searching for loginattempts in the SQL tables but its not there.
Yes the reason it isn't there is because you need to run the upgrade script which adds it.

Go to ./install/upgrade.php and choose your old version from the list.

Also read announcements as it was mentioned twice, and search as loads of people have had the same problem.

Edit: You've already made a thread on this: http://community.mybboard.net/thread-41890.html

I asked you a question in that thread that you never replied to, so I am closing this thread. In future please check old threads for replies rather than making a new one with the exact same problem.