MySQL Localhost Error - Localhost VS 127.0.0.1

이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

Setting “localhost” in the mysql.yaml file may produce this error:

mysql
-----
- instance #0 [ERROR]: OperationalError(2003, 'Can\'t connect to
MySQL server on \'localhost\' ((1045, u"Access denied for user
\'datadog\'@\'127.0.0.1\' (using password: YES)"))')

The workaround is to grant permissions to datadog@127.0.0.1 , rather than datadog@localhost

This problem is documented in this closed Datadog Agent issue and referenced in the MySQL documentation

PREVIEWING: rtrieu/product-analytics-ui-changes