DROP USER
Complete DROP statement reference for MariaDB. Complete guide for safely removing database objects with CASCADE options with comprehensive examples and best.
Syntax
DROP USER [IF EXISTS] user_name [, user_name] ... [FORCE]DROP USER [IF EXISTS] user_name [, user_name] ...Description
Dropped users 'user'@'host[,...]' have active connections. Use KILL CONNECTION if they should not be used anymore.Operation DROP USER failed for 'foo'@'localhost'.ERROR 1396 (HY000): Operation DROP USER failed for 'u1'@'%','u2'@'%'IF EXISTS
Examples
See Also
Last updated
Was this helpful?

