DROP SERVER

Stai visualizzando una vecchia versione di questo article. Visualizza la versione più recente.

Sintassi

DROP SERVER [ IF EXISTS ] nome_server

Spiegazione

Elimina la definizione del server specificata. Il record corrispondente nella tabella mysql.servers viene cancellata. Questa istruzione richiede il privilegio SUPER .

L'eliminazione della definizione di un server non influenza le tabelle FEDERATED che lo utilizzavano al momento in cui sono state create. Si veda CREATE SERVER.

Esempio

DROP SERVER s;

IF EXISTS:

DROP SERVER s;
ERROR 1477 (HY000): The foreign server name you are trying to reference 
  does not exist. Data source error:  s

DROP SERVER IF EXISTS s;
Query OK, 0 rows affected (0.00 sec)

Commenti

Sto caricando i commenti......
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.