Topic on Project:Support desk

[RESOLVED] New install. No admin account.

10
Lorigreenberg (talkcontribs)

Hi.

I just did a new install of MediaWiki and cannot login. It is saying there is no such user yet I see it when I look in phpMyAdmin.

I tried to create a new user as well as making sure there was an email for the user I created so I could retrieve password however the password and email fields say "binary. do not edit" and only have a button to upload a file.

Please help me get into my wiki.

thanks in advance Lori G

Jasper Deng (talkcontribs)

Are you trying to login with the account you setup in the installation process or a MySQL account? Only the former will work.

In my experience, it never occured that the account you made in the installation process does not work, although I do know it's not an impossibility.

Lorigreenberg (talkcontribs)

I hate to admit that I don't remember setting one during installation so I went into my database through phpMyAdmin and saw that there was one user, which is a name that I would have chosen, so I tried to reset password with that username and it says the user does not exist. It will not let me do it manually in phpMyAdmin as that field says it's binary, do not edit and there is no field to type in a new password, or email, anyway.

I have also tried the MySQL database user names and they didn't work.

Jasper Deng (talkcontribs)

You don't remember the account details you initially set during the installation? There are a number of ways you could rectify this. If you have Extension:RenameUser, you could create a new account, assign it bureaucrat access (either by temporarily allowing all users to assign all user rights or doing so in the database), and rename off the old one.

88.130.105.238 (talkcontribs)

If it is a new install, the easiest would maybe be to delete the database contents, remove LocalSettings.php and then to start installation again. And then: Remember the username, please! ;-)

Lorigreenberg (talkcontribs)

Gotcha. Thanks. Usually I name things with someting I remember or write them down if I'm getting all fancy. I do not know what happened to me! Thanks for your help!

117.198.109.63 (talkcontribs)

I have the same problem despite having the details of the password (emailed to me during installation from CPanel-Softaculous) Please help ....

88.130.71.88 (talkcontribs)

Then the same solutions will work for you. Let me copy, what I already wrote a year ago and what you already find directly above your question:

If it is a new install, the easiest would maybe be to delete the database contents, remove LocalSettings.php and then to start installation again. And then: Remember the username, please! ;-)

A second approach would be to go to the page Special:ListUsers in your wiki and to let MediaWiki display a list of those users, which are members of the group "Administrators".

73.155.49.129 (talkcontribs)

I just installed mediaWiki and DEFINITELY SAVED MY ADMIN AND PASSWORD, but I am also having the issue of not having my admin username recognized. It seems like this is a mediaWiki issue.

Malyacko (talkcontribs)

Basic information like MediaWiki version, steps to reproduce the problem, what exactly happens at which step etc. required. Also, this thread is closed as resolved. Better to start a new topic and refer to this one instead.

Reply to "[RESOLVED] New install. No admin account."