Przeglądaj źródła

Se ha habilitado el acceso remoto para bbdd y se le pasa la ip del servidor remoto.

develop
David Ramos 8 lat temu
rodzic
commit
90cf3644c7
1 zmienionych plików z 5 dodań i 2 usunięć
  1. +5
    -2
      new_service_webdns.php

+ 5
- 2
new_service_webdns.php Wyświetl plik

@@ -375,6 +375,9 @@ class page_action extends tform_actions {

$remoto->sites_database_user_after_add($this->cli_grupo_id, $db_user_params);

$global_web_config = $app->getconf->get_server_config($this->web_serv, 'server');
$ip4_bbdd = $global_web_config;
//echo(' ip4 bbdd ' . print_r($ip4_bbdd));
// add database
$paramsBD = array(
'server_id' => $this->bbdd_serv, //$camDnsRR['server_id'],
@@ -386,8 +389,8 @@ class page_action extends tform_actions {
'database_name_prefix' => $this->valor_prefix,
'database_user_id' => $db_user_id,
'database_charset' => 'utf8',
'remote_access' => 'n',
'remote_ips' => '-1',
'remote_access' => 'y',
'remote_ips' => $ip4_bbdd['ip_address'], //'-1',
'active' => 'y'
);



Ładowanie…
Anuluj
Zapisz