• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Cannot add remote database

sistemisti

New Pleskian
Server operating system version
CentOS Linux release 7.9.2009
Plesk version and microupdate number
18.0.57
Hi,
i'm trying to add to plesk an external mariadb database,
my plesk version is Plesk Obsidian 18.0.57 my OS is CentOS Linux release 7.9.2009
i insert the ip, username and password but i got this message

Database server was updated with error: The test connection to the database server has failed because the supplied account does not possess administrative privileges: SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'root'@'xx.xx.xx.xx' to database 'd659d574468c62'.

the strange thing is that if i try with mysql client it's works

mysql -uroot -psupersecretpassword -hxx.xx.xx.xx
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 36
Server version: 10.5.22-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

olso i can create,delete,use and query all databases
i create the user with the following command
create user 'root'@'%' IDENTIFIED BY 'supersecretpassword';
grant all privileges ON *.* to 'root'@'%';

someone can help me?
 
It would be helpful if you also post some short summary what problem was on the server and what solution was applied :)
 
Last edited:
the issue was related to user permission,i create 2 root users
one "create user 'root'@'%' IDENTIFIED BY 'supersecretpassword';"
and second "create user 'root'@'plesk_ip_server' IDENTIFIED BY 'supersecretpassword';"
i granted permission only to the user
grant all privileges ON *.* to 'root'@'%';
whene i grant the permission olso at the user
grant all privileges ON *.* to 'root'@'plesk_ip_server'; the db started to work
 
Back
Top