Jump to content
  • 0

Database error when attempting to log into an account which exists - Table 'wikidb.oathauth_users' doesn't exist



I am using in Windows server:
MediaWiki 1.35.2
Apache 2.4.47 Win64 from Xampp
mysql-8.0.23-winx64 (MySQL :: Download MySQL Community Server)
PHP 7.4.3

I have sucessfully created a new account in wiki. After that, I get a page as:

Your account has been created. You can change your aocwiki preferences if you wish.
Return to Main Page.

By clicking on "Main page", I can successfully edit the Wiki page. 

After that, I log out.

Next, when I attempt to log in using the same account (which was created only a few minutes back) and I know the password, I get the error as:

A database query error has occurred. This may indicate a bug in the software.
[7f3afe2ec265c01f3b4b210d] 2021-06-11 20:21:25: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"


[2ada4ab1c4b9b4a87e568f81] /mywiki/index.php?title=Special:UserLogin&returnto=My+Page Wikimedia\Rdbms\DBQueryError from line 1699 of D:\Xampp\htdocs\mywiki\includes\libs\rdbms\database\Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Error 1146: Table 'wikidb.oathauth_users' doesn't exist (localhost)
Function: MediaWiki\Extension\OATHAuth\OATHUserRepository::findByUser
Query: SELECT * FROM `oathauth_users` WHERE id = 112 LIMIT 1




Edited by userapache123
Additional clarification (see edit history)
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.