- Server operating system version
- Debian 12.5
- Plesk version and microupdate number
- 18.0.61.5
Product version: Plesk Obsidian 18.0.61.5
OS version: Debian 12.5 x86_64
mariadb Ver 15.1 Distrib 10.11.6-MariaDB
Hi,
I needed remote access to a subscription database, I follow a couple of docs and everything worked fine.
Now I figured to change the default Mariadb port (my first time doing so), so I added to /etc/mysql/mariadb.conf.d/50-server.cnf under mysqld:
port = newport
I restarted the service, added such port to the firewall and again, everything worked fine and now I have remote access through that port.
The problem is that now I can't backup the database through Plesk. When I try to do so I get this error:
Is there something in the Plesk configuration files that I need to change? or in some other mysql/mariadb file?
Also in the Tools & Settings > Database Servers section it still shows the port 3306 for MariaDb at localhost, even though I've tested to connect to the new port and it works.
Again, is my first time changing the default port on a Plesk server so any guidance would be appreciated.
OS version: Debian 12.5 x86_64
mariadb Ver 15.1 Distrib 10.11.6-MariaDB
Hi,
I needed remote access to a subscription database, I follow a couple of docs and everything worked fine.
Now I figured to change the default Mariadb port (my first time doing so), so I added to /etc/mysql/mariadb.conf.d/50-server.cnf under mysqld:
port = newport
I restarted the service, added such port to the firewall and again, everything worked fine and now I have remote access through that port.
The problem is that now I can't backup the database through Plesk. When I try to do so I get this error:
Code:
Unable to make database dump. Error: Failed to exec mysqldump: Exit code: 2: mysqldump: Got error: 2002: "Can't connect to server on 'localhost' (111)" when trying to connect
Is there something in the Plesk configuration files that I need to change? or in some other mysql/mariadb file?
Also in the Tools & Settings > Database Servers section it still shows the port 3306 for MariaDb at localhost, even though I've tested to connect to the new port and it works.
Again, is my first time changing the default port on a Plesk server so any guidance would be appreciated.