# unable to connect to database, check login\_user and login\_password are correct or /root/.my.cnf has the credentials

**URL:** <https://forum.ansible.com/t/unable-to-connect-to-database-check-login-user-and-login-password-are-correct-or-root-my-cnf-has-the-credentials/27905>\
**Category:** Ansible Project\
**Tags:** ansible-project, ubuntu\
**Created:** [June 28, 2018, 9:38pm UTC](https://forum.ansible.com/t/unable-to-connect-to-database-check-login-user-and-login-password-are-correct-or-root-my-cnf-has-the-credentials/27905 "2018-06-28T21:38:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jean-yves](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jean-yves](https://forum.ansible.com/u/jean-yves)\
**Post date:** [June 28, 2018, 9:38pm UTC](https://forum.ansible.com/t/unable-to-connect-to-database-check-login-user-and-login-password-are-correct-or-root-my-cnf-has-the-credentials/27905/1 "2018-06-28T21:38:47Z")

</div>

Are you using debian ? Ubuntu ? Which version ?

For debian, this link can explain what is the defaut access :

[https://wiki.debian.org/MySql](https://wiki.debian.org/MySql)

Regards,

JYL
