# I cant login to my mautic from ddev...what is my password

**URL:** <https://forum.mautic.org/t/i-cant-login-to-my-mautic-from-ddev-what-is-my-password/24299>\
**Category:** Product Support\
**Created:** [June 1, 2022, 4:35am UTC](https://forum.mautic.org/t/i-cant-login-to-my-mautic-from-ddev-what-is-my-password/24299 "2022-06-01T04:35:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [June 1, 2022, 4:35am UTC](https://forum.mautic.org/t/i-cant-login-to-my-mautic-from-ddev-what-is-my-password/24299/1 "2022-06-01T04:35:05Z")

</div>

I used db /db as login in ddev  
this is username and password in local.php  
am I missing something?

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [June 1, 2022, 8:03am UTC](https://forum.mautic.org/t/i-cant-login-to-my-mautic-from-ddev-what-is-my-password/24299/2 "2022-06-01T08:03:22Z")

</div>

When you install with DDEV it outputs the username and password into the terminal.

It will always be admin/mautic.

db is the database password.

---

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [June 1, 2022, 8:22am UTC](https://forum.mautic.org/t/i-cant-login-to-my-mautic-from-ddev-what-is-my-password/24299/3 "2022-06-01T08:22:38Z")

</div>

I tried admin/mautic it does not work  
where can I check the pass and username? local.php?  
it does not work  
where to get the logs in ddev?  
the pass mautic is also mentioned in local.php, but it does not work, I cant login

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [June 1, 2022, 8:32am UTC](https://forum.mautic.org/t/i-cant-login-to-my-mautic-from-ddev-what-is-my-password/24299/4 "2022-06-01T08:32:17Z")

</div>

Hi there,

The credentials are stored in the database - if you installed using DDEV this is the only username/password combination that the automated installer uses. Please note both are lower case.

You can find a walkthrough on setting up with DDEV for testing here: [Tester | Mautic Community Handbook](https://contribute.mautic.org/contributing-to-mautic/tester#setting-up-a-local-ddev-instance) in case you did not follow that process - the automated install should only take a couple of seconds to do but it does save a lot of time.

Logs are in var/logs.

As mentioned above, the password in local.php is for the **database user** not for the application itself.

If you are just using Mautic for testing purposes you could also load up the doctrine fixtures with the command `ddev exec bin/console d:f:l` - this gives you a bunch of sample data to play with including a couple of users with the same password of ‘mautic’.

---

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [June 1, 2022, 8:51am UTC](https://forum.mautic.org/t/i-cant-login-to-my-mautic-from-ddev-what-is-my-password/24299/5 "2022-06-01T08:51:20Z")

</div>

I am not testing mautic…I thought this is the prefered way to manage mautic, update on ddev and then upload to live server…like I am doing with Drupal…

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [June 1, 2022, 8:58am UTC](https://forum.mautic.org/t/i-cant-login-to-my-mautic-from-ddev-what-is-my-password/24299/6 "2022-06-01T08:58:04Z")

</div>

Then sure you can use Mautic that way - but the password will be whatever you set in the setup process if you have run through the installation, if you did not use the built-in automatic installation process.

The latest docs on how to install Mautic can be found here: [How to install Mautic — Mautic Documentation 0.1 documentation](https://mautic-documentation.readthedocs.io/en/latest/getting_started/how_to_install_mautic.html) as we are in the process of updating and replatforming - we do not have it documented for using DDEV in production as currently we only use it for testing Mautic.

You can install Mautic either in the [GUI](https://mautic-documentation.readthedocs.io/en/latest/getting_started/how_to_install_mautic.html#using-the-web-based-installer) or at the [command line](https://mautic-documentation.readthedocs.io/en/latest/getting_started/how_to_install_mautic.html#installing-with-command-line) which is the step where you set up your admin user - all documented above.

Note that we have had some issues over the last releases with updating Mautic using the recommended project approach which we are in the process of resolving.

---

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [June 1, 2022, 9:02am UTC](https://forum.mautic.org/t/i-cant-login-to-my-mautic-from-ddev-what-is-my-password/24299/7 "2022-06-01T09:02:58Z")

</div>

I used this guide here to update mautic

> **[Installing with Composer](https://docs.mautic.org/en/setup/how-to-install-mautic/install-and-manage-mautic-with-composer)**
>
> How to install Mautic with Composer.

I ran ddev composer update mautic/core-lib --with-dependencies

then  
`bin/console cache:clear` `bin/console mautic:update:apply --finish` `bin/console doctrine:migration:migrate --no-interaction` `bin/console doctrine:schema:update --no-interaction --force` `bin/console cache:clear`

I tried to reset password…but is there a way to do it? WIth Drupal you can use drush to ignore password and log in…is there such a way in mautic…  
or I need to go to database and change pass there?

---

<div class="post-metadata">

**Author:** ![DogByteMarketing](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dogbytemarketing/32/11625_2.png) [@DogByteMarketing](https://forum.mautic.org/u/DogByteMarketing)\
**Post date:** [April 12, 2024, 2:40am UTC](https://forum.mautic.org/t/i-cant-login-to-my-mautic-from-ddev-what-is-my-password/24299/8 "2024-04-12T02:40:15Z")

</div>

For those on 5.0 it’s admin:Maut1cR0cks!

You can find it in the local.php file
