• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

MySQL Instance - R1Soft

Silence12

New Pleskian
Hi,

I'm trying to add a new MySQL instance to CDP (R1soft), i'm adding admin and password to access to mysql, but i'm having some errors, like:

Could not create connection to database server. Attempted reconnect 3 times. Giving up.
Access denied for user 'admin'@'localhost' (using password: YES)

What i need to do to add the instance?

Thanks.
 
Would perhaps be better to login to MySQL using admin login , then create a new user login specifically for CDP agent.
In case it helps you or anyone else reading this thread in the future, this is an example that is similar to what we use on our CDP enabled systems for the MySQL agent:


mysql -uadmin -p`cat /etc/psa/.psa.shadow`

GRANT ALL on *.* to cdpagent@'localhost' identified by 'whateverstrongpassyouchoose' ;

FLUSH PRIVILEGES;

quit
 
Back
Top