- Server operating system version
- Debian 12
- Plesk version and microupdate number
- 18.0.62 #2
Hello everybody,
I need to access to a plesk database of one domain hosted in one server from another domain in another server with plesk.
In the destination server (the server where I need to access to de database) I went to Tools & Settings > Database Servers > Settings > and click on the Local MySQL Settings and check that "Allow remote connections from any host" is enabled.
I went to the destination database and I allow connections from the IP of the server I want to access from.
Then I modify
/etc/mysql/my.cnf (I am under debian)
And
/etc/mysql/mariadb.conf.d/50-server.cnf
I changed
bind-address = 127.0.0.1
to
bind-address = 127.0.0.1,x.x.x.x
Where x.x.x.x is the IP of the server I want to access from
Restart mysql. But it doesnt work
It is only working if I set bind-address to 0.0.0.0
But I don´t want to open the whole server, only to x.x.x.x
What I am doing wrong?
I need to access to a plesk database of one domain hosted in one server from another domain in another server with plesk.
In the destination server (the server where I need to access to de database) I went to Tools & Settings > Database Servers > Settings > and click on the Local MySQL Settings and check that "Allow remote connections from any host" is enabled.
I went to the destination database and I allow connections from the IP of the server I want to access from.
Then I modify
/etc/mysql/my.cnf (I am under debian)
And
/etc/mysql/mariadb.conf.d/50-server.cnf
I changed
bind-address = 127.0.0.1
to
bind-address = 127.0.0.1,x.x.x.x
Where x.x.x.x is the IP of the server I want to access from
Restart mysql. But it doesnt work
It is only working if I set bind-address to 0.0.0.0
But I don´t want to open the whole server, only to x.x.x.x
What I am doing wrong?