mariadbHow to remove user from Mariadb?
To remove a user from MariaDB, you can use the DROP USER
command.
Example
DROP USER 'username'@'localhost';
This command will remove the user username
from the MariaDB server.
Code explanation
DROP USER
: This is the command used to remove a user from MariaDB.username
: This is the username of the user to be removed.localhost
: This is the host from which the user will be removed.
Helpful links
More of Mariadb
- What type to use for a year in Mariadb?
- How to use XA transactions in Mariadb?
- How to work with XML in Mariadb?
- How to check version of Mariadb?
- How to install Mariadb on Ubuntu?
- How to list users in Mariadb?
- How to use UUID in Mariadb?
- How to get current year in Mariadb?
- How to use xtrabackup in Mariadb?
- How to change wait_timeout in Mariadb?
See more codes...