This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-21. For the latest, interactive version please visit https://mariadb.com/kb/.

DROP SERVER

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)
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.