• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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