# distant server mysql

**URL:** <https://forums.percona.com/t/distant-server-mysql/6318>\
**Category:** PMM 1.x\
**Created:** [April 24, 2018, 6:00am UTC](https://forums.percona.com/t/distant-server-mysql/6318 "2018-04-24T06:00:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hakim](https://avatars.discourse-cdn.com/v4/letter/h/97f17d/32.png) [@hakim](https://forums.percona.com/u/hakim)\
**Post date:** [April 24, 2018, 6:00am UTC](https://forums.percona.com/t/distant-server-mysql/6318/1 "2018-04-24T06:00:57Z")

</div>

hello everyone , i am a new member ,

i installed pmm right now for monitor a several of Database servers (using their public ip ) , so i followed all the steps and i have a question about Collecting data from PMM Clients on PMM server STEP , the question is : how to do when we apply this command sudo pmm-admin add mysql but we have not the user and password of servers which i will monitor ? because the  
result of this command it will be :  
[linux:metrics] OK, already monitoring this system.  
[mysql:metrics] Cannot connect to MySQL: Error 1045: Access denied for user ‘root’@‘localhost’ (using password: NO)

thanx in advance
