# Unable to connect admin account

**URL:** <https://community.kinsta.com/t/unable-to-connect-admin-account/2080>\
**Category:** Installation\
**Created:** [February 23, 2023, 10:49am UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080 "2023-02-23T10:49:25Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZenmonDrops](https://avatars.discourse-cdn.com/v4/letter/z/779978/32.png) [@ZenmonDrops](https://community.kinsta.com/u/ZenmonDrops)\
**Post date:** [February 23, 2023, 10:49am UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/1 "2023-02-23T10:49:25Z")

</div>

Hello, i’ve migrated my kinsta website into devkinsta for some dev reason and after the process i connect to the admin account from the original website and nothing show it says that my credentials are wrong but they are not, i’ve seen the account in the database so i don’t understand why that doesn’t work

Best regards

---

<div class="post-metadata">

**Author:** ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)\
**Post date:** [February 23, 2023, 11:08am UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/2 "2023-02-23T11:08:52Z")

</div>

Hello @ZenmonDrops and welcome to DevKinsta Community!

Is there a $ sign in your current password? There’s currently a bug that will be soon fixed that affects passwords that contain a $ sign. If this is the case, please simply change your password to the exact same password either via WP CLI or via Adminer.

In case are needed, these are the steps to change the password via Adminer:

1. Open your site in DevKinsta and click on the Database manager button
2. Click on the wp\_users table (the wp\_ part might change depending on your current table prefix)
3. Click on the top on Select Data and then on the pencil icon
4. On the user\_pass field, type again your password and be sure to select MD5 from the dropdown
5. Click on Save

You should now be able to access the admin area of your local site without issues.

Regards,  
Alessandro

---

<div class="post-metadata">

**Author:** ![ZenmonDrops](https://avatars.discourse-cdn.com/v4/letter/z/779978/32.png) [@ZenmonDrops](https://community.kinsta.com/u/ZenmonDrops)\
**Post date:** [February 23, 2023, 11:35am UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/3 "2023-02-23T11:35:03Z")

</div>

Hey and thx for your advice i’ve changed the pass and that doesn’t work ☹

---

<div class="post-metadata">

**Author:** ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)\
**Post date:** [February 23, 2023, 11:44am UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/4 "2023-02-23T11:44:16Z")

</div>

🤔 does it work if you use the standard “Lost your password” process from wp-login.php?

---

<div class="post-metadata">

**Author:** ![ZenmonDrops](https://avatars.discourse-cdn.com/v4/letter/z/779978/32.png) [@ZenmonDrops](https://community.kinsta.com/u/ZenmonDrops)\
**Post date:** [February 23, 2023, 11:45am UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/5 "2023-02-23T11:45:32Z")

</div>

no i can’t reset password

---

<div class="post-metadata">

**Author:** ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)\
**Post date:** [February 23, 2023, 11:47am UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/6 "2023-02-23T11:47:46Z")

</div>

I think there might be an issue with the database. Are you familiar with the steps needed to create a new admin user via WP CLI? If not, I can guide you

---

<div class="post-metadata">

**Author:** ![ZenmonDrops](https://avatars.discourse-cdn.com/v4/letter/z/779978/32.png) [@ZenmonDrops](https://community.kinsta.com/u/ZenmonDrops)\
**Post date:** [February 23, 2023, 11:56am UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/7 "2023-02-23T11:56:22Z")

</div>

can you please guide me ? First time using Devkinsta and not so familiar with wp cli with DEV Kinsta

---

<div class="post-metadata">

**Author:** ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)\
**Post date:** [February 23, 2023, 11:59am UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/8 "2023-02-23T11:59:05Z")

</div>

Of course, what operation system do you use?

---

<div class="post-metadata">

**Author:** ![ZenmonDrops](https://avatars.discourse-cdn.com/v4/letter/z/779978/32.png) [@ZenmonDrops](https://community.kinsta.com/u/ZenmonDrops)\
**Post date:** [February 23, 2023, 12:00pm UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/9 "2023-02-23T12:00:36Z")

</div>

yes, my operation system is macOS

---

<div class="post-metadata">

**Author:** ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)\
**Post date:** [February 23, 2023, 12:08pm UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/10 "2023-02-23T12:08:37Z")

</div>

Okay, let’s give this a try:

1. Open the application called Terminal
2. Run this command: `docker exec -u www-data -it devkinsta_fpm bash`
3. Move to your site folder using `cd public/sitename` replace sitename with the name of your site
4. Run this command to add a new admin user: `wp user create test test@yoursite.com --role=administrator --user_pass=password` of course feel free to change the username (test) the email address ([test@yoursite.com](mailto:test@yoursite.com)) and the password (password)

---

<div class="post-metadata">

**Author:** ![ZenmonDrops](https://avatars.discourse-cdn.com/v4/letter/z/779978/32.png) [@ZenmonDrops](https://community.kinsta.com/u/ZenmonDrops)\
**Post date:** [February 23, 2023, 12:34pm UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/11 "2023-02-23T12:34:52Z")

</div>

i’ve followed your instructions and have a success but when login that doesn’t work

---

<div class="post-metadata">

**Author:** ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)\
**Post date:** [February 23, 2023, 3:11pm UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/12 "2023-02-23T15:11:46Z")

</div>

@ZenmonDrops how was the site migrated exactly? Was this just an import made via DevKinsta or the database has been exported/imported manually?

---

<div class="post-metadata">

**Author:** ![ZenmonDrops](https://avatars.discourse-cdn.com/v4/letter/z/779978/32.png) [@ZenmonDrops](https://community.kinsta.com/u/ZenmonDrops)\
**Post date:** [February 23, 2023, 3:21pm UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/13 "2023-02-23T15:21:55Z")

</div>

The database and all the stuff have been imported by devKinsta

---

<div class="post-metadata">

**Author:** ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)\
**Post date:** [February 24, 2023, 3:11am UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/14 "2023-02-24T03:11:57Z")

</div>

Hello Hardeman 👋

If everything (files and database, and all stuff) have been imported as is from MyKinsta to DevKinsta, the WP users and their passwords should remain the same in the local database. 🤔

I’m wondering if it’s a multisite WordPress perhaps? and if that so, when importing this WP multisite from your MyKinsta, did you choose the same/correct multisite type (Subdomain VS Subdirectory) that’s actually used on your Live WP multisite?

If that was not the case (and the WP multisite type was setup correctly), I’m wondering what if you set that new WP user (the “test” account you added before) with `super-admin` access.  
So, please try do the following:

1. Open the application called `Terminal`
2. Run this command: `docker exec -u www-data -it devkinsta_fpm bash`
3. Move to your site folder with: `cd public/sitename` (replace sitename with the name of your site)
4. Run this command: `wp super-admin add newusername` (replace the newusername with the WP username you created previously).
5. Run this command, to make sure that the new WP user you created before is available in the database: `wp user list | grep newusername`  
(replace the newusername with the WP username you created previously).

After that, please try to login with that new WP user and its password that you had setup previously. See if you will be able to login with it? if it’s still not working, maybe you can please also provide a screenshot of the wp-login page that shows your credential are wrong?

Cheers,  
Agus

---

<div class="post-metadata">

**Author:** ![ZenmonDrops](https://avatars.discourse-cdn.com/v4/letter/z/779978/32.png) [@ZenmonDrops](https://community.kinsta.com/u/ZenmonDrops)\
**Post date:** [February 24, 2023, 10:22am UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/15 "2023-02-24T10:22:59Z")

</div>

> [@Agus](#):
>
> wp super-admin add newusername

Hey, i already have a super admin and i’ve changed password but that doesn’t work either

---

<div class="post-metadata">

**Author:** ![ZenmonDrops](https://avatars.discourse-cdn.com/v4/letter/z/779978/32.png) [@ZenmonDrops](https://community.kinsta.com/u/ZenmonDrops)\
**Post date:** [February 24, 2023, 10:28am UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/16 "2023-02-24T10:28:51Z")

</div>

i suspect that a plugin is causing this issue but when i try to deactivate all with wp cli, i’ve a critical error and i don’t know how i can see which critical error is

---

<div class="post-metadata">

**Author:** ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)\
**Post date:** [February 24, 2023, 11:17am UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/17 "2023-02-24T11:17:27Z")

</div>

Hey @ZenmonDrops can you share a screenshot of the WP CLI command and the output?

---

<div class="post-metadata">

**Author:** ![ZenmonDrops](https://avatars.discourse-cdn.com/v4/letter/z/779978/32.png) [@ZenmonDrops](https://community.kinsta.com/u/ZenmonDrops)\
**Post date:** [February 24, 2023, 12:07pm UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/18 "2023-02-24T12:07:46Z")

</div>

Hey, here’s the error i’ve got

 ![Capture d’écran 2023-02-24 à 13.06.41](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/2/2c35ba95edc1e01449fb3e570465597c613c0173.jpeg)

---

<div class="post-metadata">

**Author:** ![ZenmonDrops](https://avatars.discourse-cdn.com/v4/letter/z/779978/32.png) [@ZenmonDrops](https://community.kinsta.com/u/ZenmonDrops)\
**Post date:** [February 24, 2023, 12:08pm UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/19 "2023-02-24T12:08:17Z")

</div>

![Capture d’écran 2023-02-24 à 13.06.36](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/8/8e7b98dd823d5d61f324ff388b2a6f999f9efa77.png)

---

<div class="post-metadata">

**Author:** ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)\
**Post date:** [February 24, 2023, 12:20pm UTC](https://community.kinsta.com/t/unable-to-connect-admin-account/2080/20 "2023-02-24T12:20:39Z")

</div>

@ZenmonDrops please try to add --skip-plugins to the command you have used

[Next page](https://community.kinsta.com/t/unable-to-connect-admin-account/2080.md?page=2)
