Database access for MariaDB or MySQL database users can be controlled through the
GRANT
, REVOKE
and
DROP
commands. You can see a list of the users with the
select user from mysql.user;
command. If you add host
to that command, e.g., SELECT user, host from mysql.user;
,
you can also see the hosts/IP addresses from which users are allowed to
connect to databases.
[ More Info ]