Phpmyadmin remote server

Hi.

I need configure phpmyadmin to connect to a remote server (db.domain.tld). I created the file /etc/phpmyadmin/conf.d/02-db.domain.tld.php but phpmyadmin don’t apply the change.
I reset apache, php & nginx service. HestiaCP creates the databases successfully. The SO is Debian 11.

The file contains the following config:

<?php 
$cfg['Servers'][$i]['host'] = 'db.domain.tld';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'password';
$cfg['Servers'][$i]['port'] = '3306';
$cfg['Servers'][$i]['auth_type'] = 'config';

Thanks for your help.
José Manuel