Page MenuHomePhabricator

Database error
Closed, ResolvedPublic

Description

Author: iamnoone3

Description:
Sorry if this isn't really a bug, but i'm having issues setting up.

I followed the first two steps, however was unsure about this step:

"Run maintenance/update.php (run ConfirmAccount.sql if not possible, substituting db prefix and options) mysql -h DB_HOST -u WIKIUSER -p WIKIDB < ConfirmAccount.sql"

I tried a few things however this error still occured.

The error message below would show when you click on "Request Account" on the registration page.

"A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "efCheckIfAccountNameIsPending". Database returned error "1146: Table '<database name>.account_requests' doesn't exist <database address>".

Any help please?


Version: unspecified
Severity: enhancement

Details

Reference
bz25911
TitleReferenceAuthorSource BranchDest Branch
Draft: maintain_kubeusers: add support for kyverno policiesrepos/cloud/toolforge/maintain-kubeusers!18aborreroarturo-25-maintain_kubeusers-amain
components: add kyvernorepos/cloud/toolforge/toolforge-deploy!238aborreroarturo-2373-components-add-kyvmain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:19 PM
bzimport set Reference to bz25911.

Did you try to run 'php maintenance/update.php' from the command line? If you can, try this. If you successfully do this and you're *still* not getting the tables created, then we've got a bug.

If not, you can put the ConfirmAccount.sql file through command line mysql or phpmyadmin or something (being sure to add the $wgDBprefix before the table names)

Also, what version of MediaWiki and ConfirmAccount are you installing?

iamnoone3 wrote:

It seems the problem is fixed, I imported it into phpmyadmin.
Thanks for the help.